update stock reco permission
This commit is contained in:
parent
b5b39f0e48
commit
9826ccce54
3
erpnext/patches/jan_mar_2012/update_stockreco_perm.py
Normal file
3
erpnext/patches/jan_mar_2012/update_stockreco_perm.py
Normal 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")
|
Loading…
Reference in New Issue
Block a user