Odoo's Mergebot ee623f1f26 [FW][MERGE][FIX] survey: apply multiple fix on conditional configuration and free text section
PURPOSE

Purpose of this merge is to provide several fixes to survey application
notably on conditional configuration and free text sections.

SPECIFICATIONS

This merge fixes multiple issues :

- Free text section display depending of conditional configuration and user input :
   For page_per_question and page_per_section layout :
    - If the section has a description:
        - If the section is empty: show the section
        - If the section has questions,
            - If any of the section's questions is active: show the section
            - Else: hide the section

- Do not compute last question based on conditional questions in session manager

- Do not show leaderboards if no nickname question in survey (if attendees cannot identify themselves).

- Block shortcut key selection after question answered (or time limit ran out) in session mode.

- Only display section if contains questions or description, even on non conditional survey ( + in breadcrumb, in print mode)

- Display only answered question in survey review mode

- Avoid auto Submit when selecting other option

- Restore mistakenly removed back buttons

- Fix is_last_page_or_question
    The current question is the last one only if:
        - There are no active questions that follows
        - AND the current question is not conditionning the display of other questions

See sub-commits for more details.

Task ID-2225393

closes odoo/odoo#55026

Forward-port-of: odoo/odoo#48978
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-08-04 08:44:36 +02:00
2020-04-20 11:41:39 +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%