fix: hide column in report if rreport_hide is set

This commit is contained in:
prssanna 2020-02-29 17:32:30 +05:30
parent 6807427383
commit 3f3fe46948

View file

@ -937,7 +937,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
}
}
}
if (!docfield) return;
if (!docfield || docfield.report_hide) return;
let title = __(docfield ? docfield.label : toTitle(fieldname));
if (doctype !== this.doctype) {