mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
reload stock entry
This commit is contained in:
@@ -1287,5 +1287,5 @@ def execute(patch_no):
|
||||
sql("delete from `tabDocField` where parent = 'Leave Application' and fieldname = 'latter_head'")
|
||||
elif patch_no == 323:
|
||||
reload_doc('stock', 'doctype', 'stock_entry')
|
||||
sql("update `tabDocField` set options = 'get_stock_and_rate' where parent = 'Stock Entry' and label = 'Get Current Stock'")
|
||||
|
||||
sql("update `tabDocField` set options = 'get_stock_and_rate' where parent = 'Stock Entry' and label = 'Get Stock and Rate'")
|
||||
sql("delete from `tabDocField` where label = 'Get Current Stock' and parent = 'Stock Entry'")
|
||||
|
||||
Reference in New Issue
Block a user