mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 13:24:47 +00:00
fix: item report view
(cherry picked from commitbca917380d) (cherry picked from commit7dfae51044)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user