From a10bdd4980d8620618d0985f994032ea8ea556c5 Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Thu, 7 May 2015 16:09:22 +0530 Subject: [PATCH] fixes --- .../manufacturing/doctype/production_order/production_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py index 572b5275a93..71f9c2446af 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.py +++ b/erpnext/manufacturing/doctype/production_order/production_order.py @@ -35,7 +35,7 @@ class ProductionOrder(Document): self.validate_sales_order() self.validate_warehouse() - self.calculate_time() + self.calculate_operating_cost() self.validate_delivery_date() from erpnext.utilities.transaction_base import validate_uom_is_integer