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

This commit is contained in:
Saqib 2021-09-08 16:47:04 +05:30 committed by GitHub
parent fa819f2fb0
commit 9c27f9be1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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