mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +00:00
Merge pull request #39724 from GursheenK/subscription-failed-msg
fix: message for failed subscription process
This commit is contained in:
@@ -594,7 +594,7 @@ class Subscription(Document):
|
||||
"""
|
||||
current_invoice = self.get_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:
|
||||
if not self.has_outstanding_invoice():
|
||||
self.status = "Active"
|
||||
|
||||
Reference in New Issue
Block a user