brotherton-erpnext/erpnext/patches/v8_9/set_print_zero_amount_taxes.py

9 lines
312 B
Python
Raw Normal View History

from __future__ import unicode_literals
import frappe
from erpnext.setup.install import create_print_zero_amount_taxes_custom_field
def execute():
frappe.reload_doc('printing', 'doctype', 'print_style')
frappe.reload_doc('printing', 'doctype', 'print_settings')
create_print_zero_amount_taxes_custom_field()