Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
990599ad9a
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")
|
@ -182,5 +182,10 @@ patch_list = [
|
||||
'patch_file': 'remove_series_defval',
|
||||
'description': 'Remove rv series default value'
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.jan_mar_2012',
|
||||
'patch_file': 'update_stockreco_perm',
|
||||
'description': 'Update stock reco permission'
|
||||
},
|
||||
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user