adds missing 'translatability'

This commit is contained in:
tundebabzy 2018-02-28 12:24:16 +01:00
parent 86ee455cbc
commit a5bc057ad4

View File

@ -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'