mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
adds missing 'translatability'
This commit is contained in:
@@ -243,7 +243,7 @@ class Subscriptions(Document):
|
|||||||
def process_for_past_due_date(self):
|
def process_for_past_due_date(self):
|
||||||
current_invoice = self.get_current_invoice()
|
current_invoice = self.get_current_invoice()
|
||||||
if not current_invoice:
|
if not current_invoice:
|
||||||
frappe.throw('Current invoice is missing')
|
frappe.throw(_('Current invoice {0} is missing'.format(current_invoice.invoice)))
|
||||||
else:
|
else:
|
||||||
if self.is_not_outstanding(current_invoice):
|
if self.is_not_outstanding(current_invoice):
|
||||||
self.status = 'Active'
|
self.status = 'Active'
|
||||||
|
|||||||
Reference in New Issue
Block a user