From a5bc057ad44fdac3fd27710bd8851a950655ed9b Mon Sep 17 00:00:00 2001 From: tundebabzy Date: Wed, 28 Feb 2018 12:24:16 +0100 Subject: [PATCH] adds missing 'translatability' --- erpnext/accounts/doctype/subscriptions/subscriptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/subscriptions/subscriptions.py b/erpnext/accounts/doctype/subscriptions/subscriptions.py index eed4e87508..e47b7ead4f 100644 --- a/erpnext/accounts/doctype/subscriptions/subscriptions.py +++ b/erpnext/accounts/doctype/subscriptions/subscriptions.py @@ -243,7 +243,7 @@ class Subscriptions(Document): def process_for_past_due_date(self): current_invoice = self.get_current_invoice() if not current_invoice: - frappe.throw('Current invoice is missing') + frappe.throw(_('Current invoice {0} is missing'.format(current_invoice.invoice))) else: if self.is_not_outstanding(current_invoice): self.status = 'Active'