summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2017-08-16 15:51:52 +0200
committerMartin Geubelle <mge@odoo.com>2017-08-16 17:27:48 +0200
commit68d0ca03da992bb741cb7692e69fd11cbe15b29a (patch)
tree970b616ebbe5a688bc6a6e2a955a668197ad34f7 /addons/web/static/tests/fields
parentab2e71d9fc2486f248fd6518237ac4b54cf45bd5 (diff)
[FIX] web: edit (list editable) one2manys inside one2manys
Since rev. https://github.com/odoo/odoo/commit/ebd17217c4e7e9ff06d97028de64fb2fc44d6266 the attribute `_editionViewType` has been introduced to use the modifiers from the correct one2many view type. This attribute wasn't correctly populated if multiple one2manys were imbricated. The first view type (form in the test case) was set for the second one2many even though the view type was list. This was due to the `visitChildren` function use that browses through all levels (and not only the first one). To reproduce the bug before this rev. you could try to create a new survey, add a question (one2many) then select multiple choice and add an answer (one2many editable).
Diffstat (limited to 'addons/web/static/tests/fields')
0 files changed, 0 insertions, 0 deletions