mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
allow deletion of products
This commit is contained in:
@@ -4,4 +4,5 @@ def execute():
|
|||||||
"""
|
"""
|
||||||
import webnotes
|
import webnotes
|
||||||
webnotes.conn.sql("""UPDATE `tabDocPerm` SET cancel=1
|
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