Skip to content
Snippets Groups Projects
user avatar
Thomas Lefebvre (thle) authored
Reference PR: https://github.com/odoo/odoo/pull/99481



Steps to reproduce:
   - create a course with two successive video with quizz;
   - try the course without clicking on the "join course" of the website;
   - on the first video quizz you can "join and submit".

Issue:
On the second video quizz you again have the "join and submit"
button and if you try to click on it you have an error message:
"You have already joined this channel".

Solution:
There is no "join and submit" button on the second video but
rather a button "check you answers".
The first time the join & submit button is clicked the user join
the course in the backend thanks to the rpc call but the frontend
and the other slides don't have this information. To solve the
issue we add on every slides the information so that when they are
changed to they don't act like if the user had not joined the course.

opw-2971158

closes odoo/odoo#104265

Signed-off-by: default avatarWarnon Aurélien (awa) <awa@odoo.com>
6d4a7ae5
History
Name Last commit Last update