diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-04-12 11:45:19 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-04-12 13:25:51 +0000 |
| commit | 29052c5328756a0bdae443f7cec0a95c4413bd1f (patch) | |
| tree | f2c3734e13ca1f80da031627c4c5d2c7479096fd /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 30b5e0c024254049c68125b4c920ec1b202aa328 (diff) | |
[FIX] account: fix group checks
Due to incompetence, previous commiter used user_has_groups instead of has_group
However the latter is not a higher-level version of the former,
since it checks the groups on the self.env.user, not on self.
As a result, the filtering on the whole recordset was wrong,
since it did the check on the env user for each record.
closes odoo/odoo#32655
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
