fix(patch): reload 'Import Supplier Invoice' doc

This commit is contained in:
Sahil Khan 2020-04-17 13:15:15 +05:30
parent 6d49238159
commit f03efdc6b1

View File

@ -10,6 +10,8 @@ def execute():
make_custom_fields()
frappe.reload_doc("regional", "doctype", "import_supplier_invoice")
add_permission('Import Supplier Invoice', 'Accounts Manager', 0)
update_permission_property('Import Supplier Invoice', 'Accounts Manager', 0, 'write', 1)
update_permission_property('Import Supplier Invoice', 'Accounts Manager', 0, 'create', 1)
update_permission_property('Import Supplier Invoice', 'Accounts Manager', 0, 'create', 1)