diff options
| author | David Monjoie <dmo@odoo.com> | 2017-06-01 12:47:56 +0200 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2017-06-02 15:12:43 +0200 |
| commit | 31f581972451a99b93baa230ff8ba60b763ed280 (patch) | |
| tree | 05275c40fd6768101211fb0785cd03fc9c9f5ad9 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 6d75ccdb594d538aab9220cf7b85b961c9a50488 (diff) | |
[FIX] web: fix mock server dropping x2many on update
Previously, when an update operation was performed, the list of
ids in the x2many field was emptied beforehand.
It kinda worked in lots of cases where one would expect it to
fail because in thoses cases the widgets send link_to commands
along with the update one, thus re-adding the removed line.
Now the behavior is more consistent accross the board. We start
with the current list of ids and apply the requested changes.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
