mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
Patch for production fieldlevel changes
This commit is contained in:
8
patches/november_2012/production_order_patch.py
Normal file
8
patches/november_2012/production_order_patch.py
Normal file
@@ -0,0 +1,8 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
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