mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
fix: document naming rule not working for subscription invoices (#27395)
This commit is contained in:
@@ -396,6 +396,7 @@ class Subscription(Document):
|
|||||||
invoice.to_date = self.current_invoice_end
|
invoice.to_date = self.current_invoice_end
|
||||||
|
|
||||||
invoice.flags.ignore_mandatory = True
|
invoice.flags.ignore_mandatory = True
|
||||||
|
invoice.set_missing_values()
|
||||||
invoice.save()
|
invoice.save()
|
||||||
|
|
||||||
if self.submit_invoice:
|
if self.submit_invoice:
|
||||||
|
|||||||
Reference in New Issue
Block a user