fb2e401359dc2503833f161bd226171a0b03938b
Open a live session for the burger quiz, join as an attendee. Everytime the host reveal the next question, the attendees get a traceback. ```js TypeError: ... is not Iterable ``` A recent commit7109f48changed the controllers of survey, they used to `return self._prepare_question_html(...)`, most of them now `return {...}, self._prepare_question_html(...)`, with the notable exception of the `survey_next_question` controller which continues on returning only the `_prepare_question_html(...)`. JS-side, the `self._prepare_question_html(...)` payload is retrieved via `const [,result] = await nextScreenPromise;`, i.e. it excepts an array of 2 elements and retrieve the second one. As the other survey controllers have been modified inside7109f48, the `survey_next_question` should be updated too but was forgotten. Returns an empty dict for the correct answers and the next page html. Task-3374998 closes odoo/odoo#139204 Reference-to:7109f48([IMP] survey: add scoring after each page) Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
…
…
…
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%