mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 18:54:55 +00:00
adds missing 'translatability'
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user