fix: document naming rule not working for subscription invoices (#27395)

This commit is contained in:
Frappe PR Bot
2021-09-08 19:11:47 +05:30
committed by GitHub
parent 2d3c036070
commit fea6291399

View File

@@ -396,6 +396,7 @@ class Subscription(Document):
invoice.to_date = self.current_invoice_end
invoice.flags.ignore_mandatory = True
invoice.set_missing_values()
invoice.save()
if self.submit_invoice: