diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-05-14 21:18:22 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-05-18 17:30:34 +0200 |
| commit | 6f7031e9fb74561aa0d4630caf47987675b49a65 (patch) | |
| tree | 62630e44e49043a2ac8eba5339b8fd5fdb4cc775 /addons/web/static/src/js/core | |
| parent | 9d1083829f006df9fbe81328c5c6d35487522e84 (diff) | |
[FIX] web: pass unique ids on `name_get` rpc
Before this commit, when a list contains records with many2one fields that
contain the same values, duplicate ids were passed to the server on rpc
`name_get`.
For instance, if 40 records in a list refer to a Unit of Measure with id "1"
whose displayed_name is "unit(s)", the server receives a long list of ids with
simply the value "1". Also, the server responds with a list of displayed_name,
in this case a list of 40 strings "unit(s)".
With this commit, we always pass unique ids to the server on rpc `name_get`.
Diffstat (limited to 'addons/web/static/src/js/core')
0 files changed, 0 insertions, 0 deletions
