patch merged
diff --git a/patches/patch.py b/patches/patch.py
index a91a306..482a276 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
-last_patch = 342
+last_patch = 343
#-------------------------------------------
@@ -1422,4 +1422,6 @@
ch.format = 'Delivery Note Packing List Wise'
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')