Merge pull request #55592 from frappe/mergify/bp/version-16-hotfix/pr-55591

fix: item report view (backport #55591)
This commit is contained in:
Nishka Gosalia
2026-06-03 15:08:59 +05:30
committed by GitHub

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