How to create an "Absolute Minimum Script Report"?

Hi @MartinHBramwell

Trust you’re doing great. I’ve tried your code but it doesn’t work. It keeps returning the following error:

File "/home/frappe/benches/bench-version-12-2021-06-22/apps/frappe/frappe/desk/query_report.py", line 68, in generate_report_result
    columns = [get_column_as_dict(col) for col in columns]
TypeError: 'NoneType' object is not iterable 

I’ve also tried some other very simple scripts as reported here but the result is same. Unfortunately, there is not even a basic sample in the official documentation to help us know if we’re somehow missing something

Any help will be greatly appreciated

Thanks