summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-05-19 12:08:12 +0200
committerAaron Bohy <aab@odoo.com>2017-05-19 15:51:57 +0200
commit702835682e50f38b503ee9312c62e1e79b747cec (patch)
tree2e55e8e29d06c0076452ea503ffd4672f84633f6 /addons/web/static/src/js/views/basic/basic_model.js
parentc929a81e8f015f9234f68749a29fe6a9c21577b6 (diff)
[FIX] web: fetch specialData of fields in x2many form
Suppose that there is a one2many list in a form view containing a field F, displayed with no widget, and that F is also displayed in the one2many form view (opened when clicking on a record of the list), but that in this form view, F is displayed with a widget requiring specialData (additional data to fetch alongside the record), e.g. widget="domain". Before this rev., it crashed when this happened because those specialData weren't loaded when opening the related record. Credit goes to @pga-odoo for reporting the bug and reproducing it in a test.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions