Ethan Vincent 35535ce112 [FIX] survey: show comment as answer text area
**Current behavior:**
A survey question which has a comment field counted as an
answer will not reveal its text box input field when it is
selected as the current answer.

**Expected behavior:**
After clicking on the comment field answer, the text box will be
revealed and enabled.

**Steps to reproduce:**
1. In the surveys app, add a question to a survey of type
     `Multiple choice: only one answer`

2. In the question's options, enable the `Show Comments Field`
     and `Comment is an answer` options

3. Go to the question in the survey, click on the comment answer
     and observe there is no field to enter a comment

**Cause of the issue:**
The function which is responsible for adapting these page
elements is not selecting the correct html elements, thus their
attributes are not properly changed when needed.

**Fix:**
Change the function variables so that they are pointing to the
correct location in the DOM.

opw-3748291

closes odoo/odoo#155023

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2024-03-05 12:46:14 +00:00
2024-02-21 11:28:04 +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%