odoo/addons/share
Martin Trigaux 44248a07a5 [FIX] base,share: error in_group_xx on user form
res.users form contains virtual fields in_group_ID to be added in res.groups.
Groups with boolean share=True (added by share module) must not be displayed in
the form and should not be modifiable through the user interface.
However, if a module adding/modifying a res.group is earlier in the dependency
graph than 'share' (e.g. only depends from 'base'), the update of the user view
is done before share is loaded and the overrride of 'get_application_groups' is
never executed.

As we can not guarantee that the module is share loaded, put the logic of
hidding the module in base instead of share.

This workaround is quite hacky but is necessary in stable version.
Better fix in 9.0 at cf63d4d

Fixes #6324
Fixes #5820
2015-11-30 13:11:02 +01:00
..
i18n [I18N] Update translation terms from Transifex 2015-11-29 02:58:05 +01:00
security [FIX] mail, share: correct module update. 2015-03-17 19:29:54 +01:00
static/src [MERGE] OPW 586534: share: proper context passing when opening Share wizard, so action labels are translated too 2013-06-06 19:31:58 +02:00
views [FIX] share: share feature compatibility with Odoo 8.0 2015-02-06 14:01:59 +01:00
wizard [MERGE] Forward-port of latest bugfixes from saas-3 up to cc5860fbcf 2015-07-29 14:01:17 +02:00
__init__.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
__openerp__.py [FIX] share: create group before creating a model access with this group 2015-02-06 14:12:18 +01:00
ir_model.py Take into account the new 'active' field on ir.model.access. 2012-07-13 19:38:35 +02:00
res_users.py [FIX] base,share: error in_group_xx on user form 2015-11-30 13:11:02 +01:00
res_users_view.xml [IMP] portal, share: improve search filters on groups 2012-09-18 14:10:15 +02:00
share_data.xml [REF] *: share field is now a computed field, if the user is in the employee group or not 2014-03-24 15:35:58 +01:00
share_demo.xml