Merge pull request #50 from tobrahma/master

patch corrected to add item_customer_detail
This commit is contained in:
Nabin Hait
2011-08-23 06:14:31 -07:00

View File

@@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 342
last_patch = 343
#-------------------------------------------
@@ -1423,3 +1423,5 @@ def execute(patch_no):
ch.save(1)
elif patch_no == 342:
sql("update `tabDocField` set permlevel = 0 where parent = 'Stock Entry Detail' and fieldname in ('s_warehouse', 't_warehouse', 'fg_item')")
elif patch_no == 343:
reload_doc('stock','doctype','item_customer_detail')