brotherton-erpnext/erpnext/patches/v11_0/add_permissions_in_gst_settings.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
335 B
Python
Raw Normal View History

import frappe
from erpnext.regional.india.setup import add_permissions
def execute():
company = frappe.get_all('Company', filters = {'country': 'India'})
if not company:
return
frappe.reload_doc("regional", "doctype", "lower_deduction_certificate")
2020-05-04 13:50:55 +00:00
frappe.reload_doc("regional", "doctype", "gstr_3b_report")
add_permissions()