mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-03 02:25:00 +00:00
update stock reco permission
This commit is contained in:
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")
|
||||
Reference in New Issue
Block a user