From 203152d67e99b033427dd0f0284b287676a8e094 Mon Sep 17 00:00:00 2001 From: Ameya Shenoy <shenoy.ameya@gmail.com> Date: Fri, 31 Aug 2018 14:33:48 +0530 Subject: [PATCH] indentation: fixes --- erpnext/accounts/doctype/sales_invoice/sales_invoice.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index cb65557dc5..ae8e476d19 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -996,10 +996,10 @@ class SalesInvoice(SellingController): if entry.amount < 0: frappe.throw(_("Row #{0} (Payment Table): Amount must be positive").format(entry.idx)) - def verify_payment_amount_is_negative(self): + 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)) + if entry.amount > 0: + 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):