[print] item tables - override description and uom
This commit is contained in:
9
erpnext/controllers/print_settings.py
Normal file
9
erpnext/controllers/print_settings.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright (c) 2015, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
def print_settings_for_item_table(doc):
|
||||
doc.print_templates = {
|
||||
"description": "templates/print_formats/includes/item_table_description.html",
|
||||
"qty": "templates/print_formats/includes/item_table_qty.html"
|
||||
}
|
||||
doc.hide_in_print_layout = ["item_code", "item_name", "image", "uom", "stock_uom"]
|
||||
Reference in New Issue
Block a user