fix: amount label according to party type

This commit is contained in:
Gursheen Anand 2024-02-25 21:32:24 +05:30
parent 75f8464724
commit 9c8d103d8a

View File

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