From 2eed5a35e3182912cef594d8580091b9ae398c4d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 24 Dec 2014 10:41:42 +0530 Subject: [PATCH] fixed capacilty planning patch --- erpnext/patches/v5_0/capacity_planning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v5_0/capacity_planning.py b/erpnext/patches/v5_0/capacity_planning.py index 291fc5c782..05ae222865 100644 --- a/erpnext/patches/v5_0/capacity_planning.py +++ b/erpnext/patches/v5_0/capacity_planning.py @@ -5,4 +5,4 @@ import frappe def execute(): frappe.reload_doc("stock", "doctype", "stock_entry") - frappe.db.sql("update tabBOM set additional_operating_cost = total_fixed_cost") + frappe.db.sql("update `tabStock Entry` set additional_operating_cost = total_fixed_cost")