diff options
| author | Sébastien Theys <seb@odoo.com> | 2018-06-07 15:55:54 +0200 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2018-06-29 10:39:42 +0200 |
| commit | 217fee2636fb4dc4c193e67e5727a9fcef200605 (patch) | |
| tree | d1467195d08c56b45d20d063dc95bc94b1e3ff7e /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 13667b0dff24449d3c8f9acb33a2153b16c01de7 (diff) | |
[FIX] web: prevent RPC from failing if no route is set
The scenario is:
- create a new parent model, which has a one2many
- add at least 2 one2many lines which have:
- a handle field
- a many2one, which is not required, and we will leave it empty
- reorder the lines with the handle
This will call a resequence, which calls a name_get.
With the bug that would throw an error at the RPC, but this commit fixes it.
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
