fix: item report view

(cherry picked from commit bca917380d)
This commit is contained in:
nishkagosalia
2026-06-03 14:51:27 +05:30
committed by Mergify
parent a563d01425
commit 7dfae51044

View File

@@ -33,6 +33,7 @@ frappe.listview_settings["Item"] = {
}, },
onload: function (listview) { onload: function (listview) {
if (listview.view === "List") {
listview.columns = listview.columns.map((col) => { listview.columns = listview.columns.map((col) => {
if (!col.df) return col; if (!col.df) return col;
const renames = { const renames = {
@@ -46,6 +47,7 @@ frappe.listview_settings["Item"] = {
return col; return col;
}); });
listview.render_header(true); listview.render_header(true);
}
}, },
get_indicator: function (doc) { get_indicator: function (doc) {