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")