fix: change field-type to remove currency field from total row in export

This commit is contained in:
Saurabh
2023-05-23 12:39:20 +05:30
parent 75f4a616f1
commit f65be40037

View File

@@ -182,14 +182,7 @@ def get_columns(earning_types, ded_types):
"fieldname": "payment_days",
"fieldtype": "Float",
"width": 120,
},
{
"label": _("Currency"),
"fieldname": "currency",
"fieldtype": "Link",
"options": "Currency",
"hidden": 1,
},
}
]
for earning in earning_types:
@@ -247,6 +240,13 @@ def get_columns(earning_types, ded_types):
"options": "currency",
"width": 120,
},
{
"label": _("Currency"),
"fieldname": "currency",
"fieldtype": "Data",
"options": "Currency",
"hidden": 1,
},
]
)