odoo/openerp/addons/base
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
ir [FIX] models: custom models must add the table/column in database 2015-11-27 13:58:28 +01:00
module [MERGE] forward port of branch saas-3 up to d48aa27 2015-09-11 16:38:00 +02:00
report [REF] OpenERP --> Odoo in various UI texts (2) 2014-07-18 14:59:38 +02:00
res [FIX] base,share: error in_group_xx on user form 2015-11-30 13:11:02 +01:00
rng [ADD] views documentation 2014-08-28 15:02:33 +02:00
security [FIX] base, mail: access to ir.config_parameter is now handled by by 2014-08-29 12:01:50 +02:00
static [IMP] base: description pages containers width 2015-10-26 15:47:10 +01:00
tests [FIX] api: improve decorator `returns` to handle special cases, like method `search` 2015-11-25 09:59:35 +01:00
workflow [MERGE] forward port of branch saas-3 up to b79f64f 2015-03-18 13:16:23 +01:00
__init__.py [FIX] nonsensical import? 2014-03-10 10:59:18 +01:00
__openerp__.py [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
base.sql [FIX] Size for icon field of ir_module_module table in base.sql 2014-09-04 01:46:44 +02:00
base_data.xml [Fix] Some missed frontend openerp to odoo changes 2015-01-12 16:17:12 +01:00
base_demo.xml [IMP] account: better fix than edbd0df for reconciliation test 2015-01-05 11:30:49 +01:00
base_menu.xml [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00