fix: amount label according to party type

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

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,