mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-29 19:48:27 +00:00
fixed production order patch
This commit is contained in:
@@ -4,9 +4,6 @@ def execute():
|
||||
webnotes.reload_doc("manufacturing", "doctype", "production_order")
|
||||
webnotes.reload_doc("stock", "doctype", "stock_entry")
|
||||
|
||||
webnotes.conn.sql("""update `tabProduction Order`
|
||||
set use_multi_level_bom = if(consider_sa_items='Yes', 0, 1)""")
|
||||
|
||||
webnotes.conn.sql("""update `tabStock Entry`
|
||||
set use_multi_level_bom = if(consider_sa_items_as_raw_materials='Yes', 0, 1)""")
|
||||
|
||||
Reference in New Issue
Block a user