fix: select multiple values for accounting dimenssion

This commit is contained in:
Rohit Waghchaure
2022-05-14 17:19:34 +05:30
parent ead08aa192
commit 69be22ba7c
7 changed files with 20 additions and 16 deletions

View File

@@ -213,8 +213,10 @@ $.extend(erpnext.utils, {
filters.splice(index, 0, {
"fieldname": dimension["fieldname"],
"label": __(dimension["label"]),
"fieldtype": "Link",
"options": dimension["document_type"]
"fieldtype": "MultiSelectList",
get_data: function(txt) {
return frappe.db.get_link_options(dimension["document_type"], txt);
},
});
}
});