From 2353b90e7af33f4439d219863d03912533fc8233 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 20 Dec 2012 17:08:57 +0530 Subject: [PATCH] fixed production order patch --- patches/november_2012/production_order_patch.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/patches/november_2012/production_order_patch.py b/patches/november_2012/production_order_patch.py index 54284b425a..e64af59471 100644 --- a/patches/november_2012/production_order_patch.py +++ b/patches/november_2012/production_order_patch.py @@ -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)""") \ No newline at end of file