From 96035b87d566948ac56bec2a49357fed199a59ba Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Sat, 5 Aug 2023 22:21:06 +0530 Subject: [PATCH] fix: Lower deduction certificate for multi-company (#36491) --- .../lower_deduction_certificate/lower_deduction_certificate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/regional/doctype/lower_deduction_certificate/lower_deduction_certificate.py b/erpnext/regional/doctype/lower_deduction_certificate/lower_deduction_certificate.py index cc223e91bc..6ae04c165c 100644 --- a/erpnext/regional/doctype/lower_deduction_certificate/lower_deduction_certificate.py +++ b/erpnext/regional/doctype/lower_deduction_certificate/lower_deduction_certificate.py @@ -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,