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

9 lines
306 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")
2014-12-24 05:11:42 +00:00
frappe.db.sql("update `tabStock Entry` set additional_operating_cost = total_fixed_cost")