Hi all.
I am using the surveys in Odoo 17 and one day the error 500 appeared unexpectedly, and it says like this.
Mensaje de error:
Error when compiling xml template
SyntaxError: invalid syntax. Perhaps you forgot a comma? (<>, line 1)
Template: survey.layout
Path: /t/html/body/div[2]
Node: <div id="wrapwrap" t-attf-class="#{pageName or ''} #{request.env['res.lang']._lang_get_direction(request.env.lang) == 'rtl' and 'o_rtl' or ''} #{'o_portal' if is_portal else ''} #{'o_header_overlay' if 'header_overlay' in main_object and main_object.header_overlay else ''}" t-att-style="survmate_style" t-att-class="(('o_survey_background o_survey_background_shadow') if (question and question.background_image_url) or (page and page.background_image_url) or (survey and survey.background_image_url) else 'o_survey_background') sh_survmate_class_all"/>
I have a backup of the database but it is from 2 months ago, if I restore this backup the surveys work correctly, but it is an old backup and I cannot use it, I restored the backup in another DB and I was comparing some tables but I did not find anything different, has anyone had the same experience or could guide me on how to solve this problem