diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-05-18 11:26:24 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-05-18 13:55:46 +0200 |
| commit | f77e86b67ba8e8654d6f051239bacb0efdb8d7b1 (patch) | |
| tree | c96ea9404314d90ac6e6bbee3eaaaa69992afd47 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | abacdd97766d58312917901599c277f62bfbef3a (diff) | |
[FIX] mass_mailing: read_group: grouped on selection field
The model MassMailing overrides read_group to handle the case when
it is grouped by field state, which is of type selection. However,
it sets as value for each group the array [key, name] of the
selection option, which is incorrect (it should set key as value,
like the default read_group does, and as the name is known client
side anyway).
This case was handled by the old views, but it isn't by the new
ones, which are less permissive. We choose to fix the read_group
override instead of allowing both cases in JS, as it is always
better to have a clear and single API.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
