Merge pull request #21340 from sahil28297/fix_italy_einvoicing_develop

fix(patch): reload 'Import Supplier Invoice' doc
This commit is contained in:
rohitwaghchaure 2020-04-20 14:22:48 +05:30 committed by GitHub
commit 6e201a00df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)