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

11 lines
255 B
Python

from __future__ import unicode_literals
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)