From a8077bdd204011af476e4bcfc8a0c279874ece37 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 11 Jan 2012 17:22:54 +0530 Subject: [PATCH] Error fixed in patch --- erpnext/patches/jan_mar_2012/production_cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/jan_mar_2012/production_cleanup.py b/erpnext/patches/jan_mar_2012/production_cleanup.py index a7dd96d458..f50278f083 100644 --- a/erpnext/patches/jan_mar_2012/production_cleanup.py +++ b/erpnext/patches/jan_mar_2012/production_cleanup.py @@ -39,7 +39,7 @@ def execute(): sql("update `tabBOM Material` set rate = moving_avg_rate, amount = amount_as_per_mar") - sql("update `tabFlat Bom Detail` set rate = moving_avg_rate, amount = amount_as_per_mar") + sql("update `tabFlat BOM Detail` set rate = moving_avg_rate, amount = amount_as_per_mar")