allow deletion of products
This commit is contained in:
parent
9f94275d65
commit
bfa58a3516
@ -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""")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user