mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
capacity planning patch fixed
This commit is contained in:
@@ -5,4 +5,5 @@ import frappe
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doc("stock", "doctype", "stock_entry")
|
frappe.reload_doc("stock", "doctype", "stock_entry")
|
||||||
frappe.db.sql("update `tabStock Entry` set additional_operating_cost = total_fixed_cost")
|
if "total_fixed_cost" in frappe.db.get_table_columns("Stock Entry"):
|
||||||
|
frappe.db.sql("update `tabStock Entry` set additional_operating_cost = total_fixed_cost")
|
||||||
|
|||||||
Reference in New Issue
Block a user