fix: inventory dimension filter's label not showing in the reort

This commit is contained in:
Rohit Waghchaure 2022-09-07 14:40:18 +05:30
parent 5b02adbd33
commit ef7def8f1d

View File

@ -226,7 +226,7 @@ $.extend(erpnext.utils, {
if (!found) {
filters.splice(index, 0, {
"fieldname": dimension["fieldname"],
"label": __(dimension["label"]),
"label": __(dimension["doctype"]),
"fieldtype": "MultiSelectList",
get_data: function(txt) {
return frappe.db.get_link_options(dimension["doctype"], txt);