mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 07:29:22 +00:00
Fixed Reset Permissions patch
This commit is contained in:
@@ -12,8 +12,7 @@ def execute():
|
|||||||
"Designation", "Earning Type", "Event", "Feed", "File Data", "Fiscal Year",
|
"Designation", "Earning Type", "Event", "Feed", "File Data", "Fiscal Year",
|
||||||
"HR Settings", "Industry Type", "Jobs Email Settings", "Leave Type", "Letter Head",
|
"HR Settings", "Industry Type", "Jobs Email Settings", "Leave Type", "Letter Head",
|
||||||
"Mode of Payment", "Module Def", "Naming Series", "POS Setting", "Print Heading",
|
"Mode of Payment", "Module Def", "Naming Series", "POS Setting", "Print Heading",
|
||||||
"Report", "Role", "Sales Email Settings", "Selling Settings", "Shopping Cart Settings",
|
"Report", "Role", "Sales Email Settings", "Selling Settings", "Stock Settings", "Supplier Type", "UOM"):
|
||||||
"Stock Settings", "Supplier Type", "UOM"):
|
|
||||||
try:
|
try:
|
||||||
frappe.reset_perms(doctype)
|
frappe.reset_perms(doctype)
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user