diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-04-12 09:57:09 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-04-12 10:27:02 +0000 |
| commit | 385342b575f6f8510cea6c90108be7b510fd1fa1 (patch) | |
| tree | ec7fa01707804785a6783fd439a0d1efe249f2e8 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 4ba4d61903ba65301ff431294a9e7fe721918355 (diff) | |
[FIX] account: only put internal users as followers of vendor bills (2)
Fine-tuning of 0a4e67c609f3d84e25715f57a61ad00ce9aec4df.
Due to some confusion, has_group had been replaced by user_has_groups
on the corresponding PR.
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 was completely False, since it checked that the env
user was in group_user which was always True.
closes odoo/odoo#32653
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
