diff options
| author | Martin Trigaux <mat@odoo.com> | 2015-06-23 14:39:37 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2015-07-09 13:50:28 +0200 |
| commit | cf63d4d277ef1ba02ff4ebcdae8583332a1775b1 (patch) | |
| tree | 0714792d825a301cf290d6e06701674630cc67ad /addons/share/security/share_security.xml | |
| parent | 10f81cce31880468f3a871da99f7851aaa7f3f43 (diff) | |
[FIX] share,base: avoid loading order issues
Move share column to base instead of module share.
The column is used to filter some groups and make them hidden from the res.users
form. However, if a module was loaded before the module share (e.g. depends only
from base), when upgraded, the eventual update of a res.group regenerated the
res.user view (to compute in_group_XX fields). This recomputation was done
before the module share was loaded in the registry (due to the dependency graph)
and the override of get_application_groups was not done, including shared groups
in the user form.
As we can not guarantee that a module is loaded, better to move to base module.
As share depends only of mail and is autoinstall, it was installed on most
instances anyway.
Fixes #6324
Fixes #5820
Diffstat (limited to 'addons/share/security/share_security.xml')
0 files changed, 0 insertions, 0 deletions
