Mahdi Cheikh Rouhou (macr) 4bb1bfe25b [FIX] website_slides_survey: compute left attempts correctly
Issue:
======
- When a user attempt a certification it will count as 1st attempt and
then do retry directly it will count as second attempt : fine.
- When a user attempt a certification it will count as 1st attempt and
  then exit the page and go to the certification again it will count as
  1st attempt too. So the user can have unlimited number of attempts
  like this.

Steps to reproduce the issue:
=============================
- Install survey , elearning
- Go to a course with a certification and do the certification, exit the
  page and enter to it again.
- Go to the user page and see the certifications you will see they both
  counted as 1st attempt.

Expected behavior:
==================
- when a user leaves a course (willingly or not) we remove the
  relationship between the user_input and slide_partner_id.
- To get the remaining attempts we just get the user_input_ids of the
  slide_partner because the old ones are removed.

opw-3498054

closes odoo/odoo#140305

X-original-commit: 74d2b551ae392fa20744fa22582b5b38b3babff7
Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
Signed-off-by: Mahdi Cheikh Rouhou (macr) <macr@odoo.com>
2023-10-30 16:41:52 +00:00
2023-10-27 08:36:16 +00:00
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%