From 6394f5b1a9c66a16ae91eec4b4d21aef0671a9b9 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 18 Aug 2014 15:39:32 +0530 Subject: [PATCH] minot fix in pro order --- .../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 1486d2a684..99a248bf1b 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.py +++ b/erpnext/manufacturing/doctype/production_order/production_order.py @@ -47,7 +47,7 @@ class ProductionOrder(Document): self.validate_production_order_against_so() else: - frappe.throw(_("Sales Order {0} is not valid") % self.sales_order) + frappe.throw(_("Sales Order {0} is not valid").format(self.sales_order)) def validate_warehouse(self): from erpnext.stock.utils import validate_warehouse_company