Can we extend report_query.js within frappe/frappe/public/js/frappe/views/reports with new functions and make it workable within erpnext module?
basically we are trying to add an option/button within menu of a report to map its selected row items to another existing doctype.
$.extend(cur_frm.cscript,{});
this is used to extend Form
but here my question is , is it possible to extend Report
For instance $.extend(cur_page.page.query_report, {});
please suggest.