Jason Van Malder ddfa8768cc [FIX] web: fix question error message translation
Issue

    - Take a v13 runbot
    - Open survey's app
    - Open one of the surveys
    - Click on edit
    - Click on a question
    - Open 'option tab'
    - Make sur the field 'mandatory answer' is true
    - Try to translate field 'error message'

    -> Error

Cause

    this occur because because we try to update the model survey.question
    from the list coming from survey.survey which mean that the
    record.viewType is list and not form.

Solution

    As we are looking for the field name we can simply use
    ev.data.fieldName.

    Another solution should be to use this.viewType instead of the record
    one.

OPW-2157631

closes odoo/odoo#42952

X-original-commit: ad115d2710aec2b4ff7d4077714a1816cdfb433e
Signed-off-by: Jason Van Malder <jvm-odoo@users.noreply.github.com>
2020-01-08 14:10:19 +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%