brotherton-erpnext/erpnext/patches/v8_1/add_hsn_sac_codes.py

10 lines
215 B
Python

import frappe
from erpnext.regional.india.setup import setup
def execute():
company = frappe.get_all('Company', filters = {'country': 'India'})
if not company:
return
# call setup for india
setup(patch=True)