frappe.desk.query_report.add_total_row (result, columns)
No docs
frappe.desk.query_report.get_columns_dict (columns)
Returns a dict with column docfield values as dict The keys for the dict are both idx and fieldname, so either index or fieldname can be used to search for a column's docfield properties
frappe.desk.query_report.get_filtered_data (ref_doctype, columns, data)
No docs
frappe.desk.query_report.get_linked_doctypes (columns, data)
No docs
frappe.desk.query_report.get_report_doc (report_name)
No docs
frappe.desk.query_report.get_report_module_dotted_path (module, report_name)
No docs
Public API
/api/method/frappe.desk.query_report.get_script
frappe.desk.query_report.get_script (report_name)
No docs
frappe.desk.query_report.get_user_match_filters (doctypes, ref_doctype)
No docs
frappe.desk.query_report.has_match (row, linked_doctypes, doctype_match_filters, ref_doctype, if_owner, columns_dict)
Returns True if after evaluating permissions for each linked doctype
- There is an owner match for the ref_doctype
- and
There is a user permission match for all linked doctypes
Returns True if the row is empty
Note: Each doctype could have multiple conflicting user permission doctypes. Hence even if one of the sets allows a match, it is true. This behavior is equivalent to the trickling of user permissions of linked doctypes to the ref doctype.
Public API
/api/method/frappe.desk.query_report.run
frappe.desk.query_report.run (report_name, filters=())
No docs