odoo/openerp/addons
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
..
base [FIX] base,share: error in_group_xx on user form 2015-11-30 13:11:02 +01:00
test_access_rights [ADD] demonstrate broken handling of rules access denial in new API 2014-07-11 13:54:01 +02:00
test_convert [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_converter [FIX] report,qweb: use non-beaking space between amount and currency 2015-05-05 08:27:04 +02:00
test_documentation_examples [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
test_exceptions [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_impex [FIX] YAML: `!menuitem` tag handling 2015-09-28 17:15:38 +02:00
test_inherit [FIX] fields: make overriding a property field by a function/computed field work 2015-10-26 17:25:47 +01:00
test_inherits [FIX] model: wrong alias used in read query for multi-inherited field 2015-05-12 13:42:27 +02:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_new_api [FIX] fields: fix assignment of related field on several records 2015-10-02 17:05:35 +02:00
test_uninstall [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
test_workflow [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
__init__.py move tests 2014-02-09 01:37:45 +01:00