mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 17:26:43 +00:00
fix: message for subscription when no current inv
This commit is contained in:
@@ -594,7 +594,7 @@ class Subscription(Document):
|
|||||||
"""
|
"""
|
||||||
current_invoice = self.get_current_invoice()
|
current_invoice = self.get_current_invoice()
|
||||||
if not current_invoice:
|
if not current_invoice:
|
||||||
frappe.throw(_("Current invoice {0} is missing").format(current_invoice.invoice))
|
frappe.throw(_("Subscription {0}: Current invoice is missing.").format(frappe.bold(self.name)))
|
||||||
else:
|
else:
|
||||||
if not self.has_outstanding_invoice():
|
if not self.has_outstanding_invoice():
|
||||||
self.status = "Active"
|
self.status = "Active"
|
||||||
|
|||||||
Reference in New Issue
Block a user