mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 04:39:11 +00:00
fix: item report view
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user