fix: Lower deduction certificate for multi-company (#36491)

This commit is contained in:
Deepesh Garg 2023-08-05 22:21:06 +05:30 committed by GitHub
parent 559d914c0b
commit 96035b87d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ class LowerDeductionCertificate(Document):
"supplier": self.supplier,
"tax_withholding_category": self.tax_withholding_category,
"name": ("!=", self.name),
"company": self.company,
},
["name", "valid_from", "valid_upto"],
as_dict=True,