fixes
diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py
index 572b527..71f9c24 100644
--- a/erpnext/manufacturing/doctype/production_order/production_order.py
+++ b/erpnext/manufacturing/doctype/production_order/production_order.py
@@ -35,7 +35,7 @@
 
 		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