2019-01-24 12:25:44 +00:00
|
|
|
import frappe
|
2020-04-04 14:35:17 +00:00
|
|
|
from erpnext.regional.india.setup import add_permissions
|
2019-01-24 12:25:44 +00:00
|
|
|
|
|
|
|
def execute():
|
|
|
|
company = frappe.get_all('Company', filters = {'country': 'India'})
|
|
|
|
if not company:
|
|
|
|
return
|
|
|
|
|
2020-04-04 14:35:17 +00:00
|
|
|
add_permissions()
|