source, target warehouse is editable for material user, manager in stock entry

This commit is contained in:
Nabin Hait 2011-08-23 17:30:19 +05:30
parent 46cd8b2ebf
commit b77080acf3

View File

@ -1422,4 +1422,4 @@ def execute(patch_no):
ch.format = 'Delivery Note Packing List Wise'
ch.save(1)
elif patch_no == 342:
sql("update `tabDocField` set permlevel = 0 where parent = 'Stock Entry' and fieldname in ('s_warehouse', 't_warehouse', 'fg_item')")
sql("update `tabDocField` set permlevel = 0 where parent = 'Stock Entry Detail' and fieldname in ('s_warehouse', 't_warehouse', 'fg_item')")