From 4c29d80cf1260e58bf4c2d0a6e0805d88c070a78 Mon Sep 17 00:00:00 2001 From: Anurag Mishra Date: Thu, 11 Apr 2019 11:09:57 +0530 Subject: [PATCH] fix: minor fixes --- .../accounts/doctype/invoice_discounting/invoice_discounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/invoice_discounting/invoice_discounting.py b/erpnext/accounts/doctype/invoice_discounting/invoice_discounting.py index d1ed4308293..f5fc92cd689 100644 --- a/erpnext/accounts/doctype/invoice_discounting/invoice_discounting.py +++ b/erpnext/accounts/doctype/invoice_discounting/invoice_discounting.py @@ -21,7 +21,7 @@ class InvoiceDiscounting(AccountsController): def validate_mandatory(self): if not (self.loan_start_date and self.loan_period): - frappe.throw(_("Loan Start Date and Loan Period are mandatory to submit the Invoice Discounting")) + frappe.throw(_("Loan Start Date and Loan Period are mandatory to save the Invoice Discounting")) def calculate_total_amount(self): self.total_amount = sum([flt(d.outstanding_amount) for d in self.invoices])