Hello;
I need to set filter on the reports using fixtures, I used below line in hooks.py but it did gave me the below error:
Fixtures
fixtures = [{‘Report’, “filters”: [[“name”, “like”, (“Jewelry”)]]},‘Custom Field’, ‘Custom Script’, ‘Property Setter’]
The error when exporting the fixtures:
File “/home/frappe/frappe-bench/apps/jewelry/jewelry/hooks.py”, line 126
fixtures = [{‘Report’, “filters”: [[“name”, “like”, (“Jewelry”)]]},‘Custom Field’, ‘Custom Script’, ‘Property Setter’]
^
SyntaxError: invalid syntax
Can someone advise me on the right syntax to be written in the hooks.py.
Regards
Bilal