source, target warehouse is editable for material user, manager in stock entry
diff --git a/patches/patch.py b/patches/patch.py
index e810268..f94c905 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -1,7 +1,7 @@
 # REMEMBER to update this
 # ========================
 
-last_patch = 341
+last_patch = 342
 
 #-------------------------------------------
 
@@ -1421,3 +1421,5 @@
 			ch = addchild(dt_obj.doc, 'formats', 'DocFormat', 1)
 			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')")