brotherton-erpnext/erpnext/patches/v8_7/add_more_gst_fields.py

11 lines
361 B
Python
Raw Normal View History

import frappe
from erpnext.regional.india.setup import make_custom_fields
def execute():
company = frappe.get_all('Company', filters = {'country': 'India'})
if not company:
return
2018-07-17 12:52:51 +00:00
frappe.reload_doc('hr', 'doctype', 'Employee Tax Exemption Declaration')
frappe.reload_doc('hr', 'doctype', 'Employee Tax Exemption Proof Submission')
make_custom_fields()