mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
fix: Comment
This commit is contained in:
@@ -309,7 +309,7 @@ class Subscription(Document):
|
|||||||
invoice = frappe.new_doc(doctype)
|
invoice = frappe.new_doc(doctype)
|
||||||
|
|
||||||
# For backward compatibility
|
# For backward compatibility
|
||||||
# Earlier subscription didn't had any subscription field
|
# Earlier subscription didn't had any company field
|
||||||
company = self.company or get_default_company()
|
company = self.company or get_default_company()
|
||||||
if not company:
|
if not company:
|
||||||
frappe.throw(_("Company is mandatory was generating invoice. Please set default company in Global Defaults"))
|
frappe.throw(_("Company is mandatory was generating invoice. Please set default company in Global Defaults"))
|
||||||
|
|||||||
Reference in New Issue
Block a user