I followed the tutorial to create my first custom report. The report pulls the appropriate data. It is simple a table from the purchase order lines, I add in two related custom fields from the product module. The report displays just fine on the studio screen but when I go to print the report it throws the following error. Not sure what I did not set. I have paper set to US Letter and PDF as the format. Any help would be appreciated
Error:
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/addons/web/controllers/main\.py",\ line\ 2150,\ in\ report_download
\ \ \ \ report_name\ =\ safe_eval\(report\.print_report_name,\ \{'object':\ obj,\ 'time':\ time\}\)
\ \ File\ "/home/odoo/src/odoo/odoo/tools/safe_eval\.py",\ line\ 328,\ in\ safe_eval
\ \ \ \ c\ =\ test_expr\(expr,\ _SAFE_OPCODES,\ mode=mode\)
\ \ File\ "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 184, in test_expr
code_obj = compile(expr, "", mode)
File "", line 1
Sample Report
^
SyntaxError: unexpected EOF while parsing