fix: item report view

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

View File

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