mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 16:45:02 +00:00
allow deletion of products
This commit is contained in:
@@ -4,4 +4,5 @@ def execute():
|
||||
"""
|
||||
import webnotes
|
||||
webnotes.conn.sql("""UPDATE `tabDocPerm` SET cancel=1
|
||||
WHERE parent='Product' AND role='Website Manager'""")
|
||||
WHERE parent='Product' AND role='Website Manager'
|
||||
AND permlevel=0""")
|
||||
|
||||
Reference in New Issue
Block a user