brotherton-erpnext/erpnext/patches/v10_0/added_extra_gst_custom_field.py

9 lines
208 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
make_custom_fields()