diff options
| author | Martin Geubelle <mge@odoo.com> | 2018-12-11 10:00:52 +0000 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2018-12-11 10:02:03 +0000 |
| commit | c70a36961f9233f4537e726d36441b2797fec1b9 (patch) | |
| tree | 25b8d1e02abc26a71116094226d36854c0c5ec33 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 0ba9daa2ce9daedcf53c0da77d00e50aed41ae7f (diff) | |
[FIX] web: correct load act_window with empty id
There was a traceback when reloading the webclient with an act_window and an
empty id in the URL (ex: after saving Settings). A `read` without id was
peformed when loading data instead of a `default_get`.
Before rev. odoo/odoo@40dd121 the action environment was generated by the
ActionManagerActWindow, which was currently defaulting the `currentId`.
Now that this is not the case anymore, the `loadState` should have this responsability.
Task 1902826
closes odoo/odoo#29411
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
