fix: incorrect category in list

(cherry picked from commit 6545467aec)
This commit is contained in:
ruthra kumar
2025-03-07 13:22:08 +05:30
committed by Mergify
parent 38a3a43ba5
commit 002685fc89

View File

@@ -953,7 +953,7 @@ class PurchaseInvoice(BuyingController):
valuation_tax_accounts = [
d.account_head
for d in self.get("taxes")
if d.category in ("Valuation", "Total and Valuation")
if d.category in ("Valuation", "Valuation and Total")
and flt(d.base_tax_amount_after_discount_amount)
]