fix: incorrect category in list

This commit is contained in:
ruthra kumar
2025-03-07 13:22:08 +05:30
parent bc792c61e9
commit 6545467aec

View File

@@ -955,7 +955,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)
]