fix: Do not check for cancelled invoices

This commit is contained in:
Deepesh Garg
2025-01-31 12:17:53 +05:30
parent 701fc02050
commit 2c94867b0e

View File

@@ -673,6 +673,7 @@ class Subscription(Document):
self.invoice_document_type,
{
"subscription": self.name,
"docstatus": 1,
"status": ["!=", "Paid"],
},
)