cleanup for print format
This commit is contained in:
committed by
Anand Doshi
parent
28804bfb62
commit
f84c240d1c
@@ -10,6 +10,12 @@ from frappe import _, throw
|
||||
from erpnext.controllers.stock_controller import StockController
|
||||
|
||||
class SellingController(StockController):
|
||||
def __setup__(self):
|
||||
self.table_print_templates = {
|
||||
self.fname: "templates/print_formats/includes/item_grid.html",
|
||||
"other_charges": "templates/print_formats/includes/taxes.html",
|
||||
}
|
||||
|
||||
def validate(self):
|
||||
super(SellingController, self).validate()
|
||||
self.validate_max_discount()
|
||||
|
||||
Reference in New Issue
Block a user