update stock reco permission

This commit is contained in:
Nabin Hait 2012-03-13 12:45:53 +05:30
parent b5b39f0e48
commit 9826ccce54

View File

@ -0,0 +1,3 @@
def execute():
import webnotes
webnotes.conn.sql("update `tabDocPerm` set cancel = 1 where parent = 'Stock Reconciliation' and ifnull(submit, 0) = 1")