Skip to content
Snippets Groups Projects
Commit 9c1f5d03 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#126792

X-original-commit: 6d99542d
Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
parent 777e8690
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment