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

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

(cherry picked from commit 96035b87d5)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
mergify[bot]
2023-08-05 22:44:10 +05:30
committed by GitHub
parent 67393694de
commit 2216875bd6

View File

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