brotherton-erpnext/erpnext/patches/v5_0/capacity_planning.py

9 lines
296 B
Python
Raw Normal View History

2014-12-19 05:27:46 +00:00
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import frappe
def execute():
frappe.reload_doc("stock", "doctype", "stock_entry")
frappe.db.sql("update tabBOM set additional_operating_cost = total_fixed_cost")