[fix]fix name definition in old patch (#6841)
This commit is contained in:
parent
dc3d9ac26c
commit
27d45a244e
@ -5,5 +5,5 @@ def execute():
|
|||||||
frappe.rename_doc("Role", "Material User", "Stock User")
|
frappe.rename_doc("Role", "Material User", "Stock User")
|
||||||
if not frappe.db.exists("Role", "Stock Manager"):
|
if not frappe.db.exists("Role", "Stock Manager"):
|
||||||
frappe.rename_doc("Role", "Material Manager", "Stock Manager")
|
frappe.rename_doc("Role", "Material Manager", "Stock Manager")
|
||||||
if not frappe.db.exists("Role", "Stock Manager"):
|
if not frappe.db.exists("Role", "Item Manager"):
|
||||||
frappe.rename_doc("Role", "Material Master Manager", "Item Manager")
|
frappe.rename_doc("Role", "Material Master Manager", "Item Manager")
|
||||||
|
Loading…
Reference in New Issue
Block a user