mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
restored 'use multi level bom' in production order
This commit is contained in:
@@ -6,4 +6,7 @@ def execute():
|
||||
|
||||
webnotes.conn.sql("""update `tabStock Entry`
|
||||
set use_multi_level_bom = if(consider_sa_items_as_raw_materials='Yes', 0, 1)""")
|
||||
|
||||
|
||||
webnotes.conn.sql("""update `tabProduction Order`
|
||||
set use_multi_level_bom = if(consider_sa_items_as_raw_materials='Yes', 0, 1)
|
||||
where use_multi_level_bom is null""")
|
||||
|
||||
Reference in New Issue
Block a user