Merge pull request #32115 from rohitwaghchaure/fixed-label-not-showing-for-filter

fix: inventory dimension filter's label not showing in the report
This commit is contained in:
rohitwaghchaure 2022-09-07 16:38:59 +05:30 committed by GitHub
commit 7dc8ab4069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);