Skip to content
Snippets Groups Projects
Commit 6d99542d authored by Leloup Loïc (lole)'s avatar Leloup Loïc (lole)
Browse files

[FIX] website_slides_survey : fix certification badges display


Before this commit, when going to /profile/ranks_badges on the website,
an error 500 happened when it had to show certification badges.
This is because the certification badges use the "state" field of their linked
survey to check if it is still open.
This field has been removed in 15.0, where the active state of the survey is
used to know if it is still used instead of a state.  When archiving a
certification survey, their linked badge is automatically archived as well,
so there is no need for that line anymore.

opw-3373973

closes odoo/odoo#125752

Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
parent fa0aa292
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment