diff options
| author | Yannick Tivisse <yti@odoo.com> | 2016-08-24 11:51:15 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2016-08-24 11:51:15 +0200 |
| commit | 04602995490b623e3e30b88386fe4bc673ce9002 (patch) | |
| tree | 74fa3843cfb12bf709fe3245fd84846da2d3c2fc /addons/mail/static/src | |
| parent | bc1a0a32ca80aaadd52e66115fe9c9ad4b26c2e0 (diff) | |
[FIX] base: Always call '_update_user_groups_view' when updating a res_group
Since abdca55ea2f5a4296ef46d3b9562a21eb955272f, the call to '_update_user_groups_view' if made only if the category_id is modified on a res_group. This method is re-computing the xml for the group_ids on res_user form view. This modification is wrong because:
- If the name or the share fields are modified too, the view should be recomputed too.
- It introduce a bug which is the following. When creating a new instance with no demo data, the method is not called and the group_ids field is still displayed as a one2many of the res_groups instead of the prettier way to display the information we're used to.
Diffstat (limited to 'addons/mail/static/src')
0 files changed, 0 insertions, 0 deletions
