brotherton-erpnext/erpnext/patches/v6_20x/set_compact_print.py

9 lines
256 B
Python
Raw Normal View History

from __future__ import unicode_literals
import frappe
2016-05-11 11:17:14 +00:00
from erpnext.setup.install import create_compact_item_print_custom_field
def execute():
2016-05-11 11:17:14 +00:00
create_compact_item_print_custom_field()
frappe.db.set_value("Print Settings", None, "compact_item_print", 1)