mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-17 02:26:33 +00:00
fix: inventory dimensions columns visibility depends on filter
This commit is contained in:
@@ -267,6 +267,10 @@ $.extend(erpnext.utils, {
|
||||
fieldname: dimension["fieldname"],
|
||||
label: __(dimension["doctype"]),
|
||||
fieldtype: "MultiSelectList",
|
||||
depends_on:
|
||||
report_name === "Stock Balance"
|
||||
? "eval:doc.show_dimension_wise_stock === 1"
|
||||
: "",
|
||||
get_data: function (txt) {
|
||||
return frappe.db.get_link_options(dimension["doctype"], txt);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user