Merge pull request #15278 from codingCoffee/indent

indentation: fixes
This commit is contained in:
Ameya Shenoy
2018-08-31 09:14:09 +00:00
committed by GitHub

View File

@@ -998,8 +998,8 @@ class SalesInvoice(SellingController):
def verify_payment_amount_is_negative(self): def verify_payment_amount_is_negative(self):
for entry in self.payments: for entry in self.payments:
if entry.amount > 0: 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. # collection of the loyalty points, create the ledger entry for that.
def make_loyalty_point_entry(self): def make_loyalty_point_entry(self):