diff options
| author | lul-odoo <lul@odoo.com> | 2018-11-23 08:22:07 +0000 |
|---|---|---|
| committer | lul-odoo <lul@odoo.com> | 2018-12-03 08:03:09 +0000 |
| commit | 9b6073c3ea6264f59fb11e6f797f4fff200c3d5d (patch) | |
| tree | 557b4aa4bb4e40145fc9839ca7d3773682aa3236 /addons/web/static/tests/fields/relational_fields_tests.js | |
| parent | f8dad1bb4b712d8f34035420ef1f6e484c638f5b (diff) | |
[FIX] web: Load form subviews without previous '*_view_ref' in context
On a form view of model A, if a many2one field (model B) has a [tree|form]_view_ref in the context
(to display a custom 'Search More...' tree view dialog for example),
when clicking on this field to display the model B form view, the context key *_view_ref is passed
when loading subviews (model C) making them crash because the view ref corresponds to the model B.
After this commit, '*_view_ref' keys in the context are dropped when loading subviews
closes odoo/odoo#29022
Diffstat (limited to 'addons/web/static/tests/fields/relational_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
