summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2018-04-20 14:43:19 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2018-05-02 11:09:50 +0200
commit27c9f838d35f36f6fe8d68068ed96c5c58d9d186 (patch)
treeba48e5904db2594d855e5446851f0332d9ca8f89 /addons/web/static/src/js/views/basic/basic_controller.js
parente0424b960315b8328f7da96f9d5bc58f2628cd47 (diff)
[FIX] web: inline views should share their fields
Have a One2Many The views of that o2m define two inline views: the list and the form in the list view, put a field that isn't in the form and used in a domain Try to add an item to the list The form pops up Fill in the data and save & close Before this commit: It crashed when evaluating the domain on a field using the field that is not in the form After this commit: Subviews share their fields in a special object on the parent record In our case, the form view checks in that shared resource if the fields it is supposed to initialize are there. Hence, this flow doesn't crash anymore OPW 1837511 closes #24350
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions