mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 12:08:26 +00:00
Merge pull request #40405 from frappe/mergify/bp/version-14-hotfix/pr-40403
fix: error message wording (backport #40403)
This commit is contained in:
@@ -349,7 +349,9 @@ class Subscription(Document):
|
||||
company = self.get("company") or get_default_company()
|
||||
if not company:
|
||||
frappe.throw(
|
||||
_("Company is mandatory was generating invoice. Please set default company in Global Defaults")
|
||||
_(
|
||||
"Company is mandatory for generating an invoice. Please set a default company in Global Defaults."
|
||||
)
|
||||
)
|
||||
|
||||
invoice.company = company
|
||||
|
||||
Reference in New Issue
Block a user