Permission given to material user for production material issue and back flush

This commit is contained in:
Nabin Hait
2011-08-22 14:40:11 +05:30
parent 41743524a3
commit 9537446aa6
2 changed files with 53 additions and 60 deletions

View File

@@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 339
last_patch = 340
#-------------------------------------------
@@ -1407,3 +1407,5 @@ def execute(patch_no):
sql("update tabPage set name='question-view' where name='Question View'")
elif patch_no == 339:
reload_doc('production','doctype','bill_of_materials')
elif patch_no == 340:
sql("update `tabDocField` set permlevel = 0 where (fieldname in ('process', 'production_order', 'fg_completed_qty') or label = 'Get Items') and parent = 'Stock Entry'")