fix: amount label according to party type

(cherry picked from commit 9c8d103d8af85e52095071d43d8b8a03bdbf3255)
This commit is contained in:
Gursheen Anand 2024-02-25 21:32:24 +05:30 committed by Mergify
parent 27703b54bd
commit d541ba3e61

View File

@ -242,7 +242,7 @@ def get_columns(filters):
"width": 120, "width": 120,
}, },
{ {
"label": _("Tax Amount"), "label": _("TDS Amount") if filters.get("party_type") == "Supplier" else _("TCS Amount"),
"fieldname": "tax_amount", "fieldname": "tax_amount",
"fieldtype": "Float", "fieldtype": "Float",
"width": 120, "width": 120,