fix: Pass report name while saving custom report

This commit is contained in:
deepeshgarg007 2019-04-15 08:49:59 +05:30
parent 11c6aa8506
commit 3020679a6f

View file

@ -1050,7 +1050,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
fieldtype: 'Data',
fieldname: 'report_name',
label: __("Report Name"),
default: this.report_doc.is_standard == 'No' ? this.custom_report : "",
default: this.report_doc.is_standard == 'No' ? this.report_name : "",
}
],
primary_action: (values) => {