fixed capacilty planning patch
diff --git a/erpnext/patches/v5_0/capacity_planning.py b/erpnext/patches/v5_0/capacity_planning.py
index 291fc5c..05ae222 100644
--- a/erpnext/patches/v5_0/capacity_planning.py
+++ b/erpnext/patches/v5_0/capacity_planning.py
@@ -5,4 +5,4 @@
 
 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")