fix: inventory dimension filter's label not showing in the reort
This commit is contained in:
parent
5b02adbd33
commit
ef7def8f1d
@ -226,7 +226,7 @@ $.extend(erpnext.utils, {
|
|||||||
if (!found) {
|
if (!found) {
|
||||||
filters.splice(index, 0, {
|
filters.splice(index, 0, {
|
||||||
"fieldname": dimension["fieldname"],
|
"fieldname": dimension["fieldname"],
|
||||||
"label": __(dimension["label"]),
|
"label": __(dimension["doctype"]),
|
||||||
"fieldtype": "MultiSelectList",
|
"fieldtype": "MultiSelectList",
|
||||||
get_data: function(txt) {
|
get_data: function(txt) {
|
||||||
return frappe.db.get_link_options(dimension["doctype"], txt);
|
return frappe.db.get_link_options(dimension["doctype"], txt);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user