brotherton-erpnext/erpnext/patches/v6_20x/set_compact_print.py
2016-05-11 16:47:14 +05:30

9 lines
256 B
Python

from __future__ import unicode_literals
import frappe
from erpnext.setup.install import create_compact_item_print_custom_field
def execute():
create_compact_item_print_custom_field()
frappe.db.set_value("Print Settings", None, "compact_item_print", 1)