I want to print a Quotation / Order report and it displays an error, but only in the Spanish language, if I change it to another language everything works correctly. This happens in any Community and Enterprise version
Error:
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/14.0/addons/web/controllers/main.py", line 2125, in report_download
report_name = safe_eval(report.print_report_name, {'object': obj, 'time': time})
File "/home/odoo/src/odoo/14.0/odoo/tools/safe_eval.py", line 328, in safe_eval
c = test_expr(expr, _SAFE_OPCODES, mode=mode)
File "/home/odoo/src/odoo/14.0/odoo/tools/safe_eval.py", line 184, in test_expr
code_obj = compile(expr, "", mode)
File "<string>", line 2
object.state == 'draft' and ‘Presupuesto de Reparación - %s' % (object.name) or
^
SyntaxError: invalid character in identifier