From 1b73505391a3fab3d3acb4c7c479376db1dcc0a8 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 31 Aug 2018 14:56:16 +0530 Subject: [PATCH] Update sales_invoice.py --- erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index 8dff1831b9..a45b953cdd 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -999,7 +999,7 @@ class SalesInvoice(SellingController): def verify_payment_amount_is_negative(self): for entry in self.payments: if entry.amount > 0: - frappe.throw(_("Row #{0} (Payment Table): Amount must be negative").format(entry.idx)) + frappe.throw(_("Row #{0} (Payment Table): Amount must be negative").format(entry.idx)) # collection of the loyalty points, create the ledger entry for that. def make_loyalty_point_entry(self):