odoo/openerp
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
..
addons [FIX] base,share: error in_group_xx on user form 2015-11-30 13:11:02 +01:00
cli [FIX] core: correcly handle pidfile deletion. 2015-11-26 10:40:59 +01:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [FIX] module loading: pre/post_init_hook execution 2015-07-29 12:30:14 +02:00
osv [FIX] expression: `child_of` domain with `parent_store` & non-existing parent 2015-11-10 16:35:55 +01:00
report [MERGE] forward port of branch 7.0 up to 99c87b6 2015-05-21 16:33:45 +02:00
service [FIX] web: current transaction is aborted 2015-10-13 17:12:34 +02:00
tests [MERGE] forward port of branch saas-3 up to 24bcdb7 2015-09-22 15:40:28 +02:00
tools [FIX] tools: ignore unknown entities while parsing 2015-11-03 21:38:53 +01:00
workflow [MERGE] forward port of branch saas-3 up to 2e9b33b 2015-11-03 12:45:50 +01:00
PKG-INFO [REM] netrpc: KILL EVERYBODY 2013-02-21 13:18:25 +01:00
__init__.py [IMP] fields: turn field.digits and column.digits into dynamic properties 2015-03-23 14:36:15 +01:00
api.py [FIX] api: improve decorator `returns` to handle special cases, like method `search` 2015-11-25 09:59:35 +01:00
exceptions.py [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
fields.py [FIX] fields: fix assignment of related field on several records 2015-10-02 17:05:35 +02:00
http.py [FIX] http: no auto-load for modules not installable 2015-09-09 13:56:55 +02:00
import_xml.rng [MERGE] ir-ui-view split active and show_customize 2014-08-31 16:56:44 +02:00
loglevels.py [REF] logging: removed pseudo log-level TEST. 2013-03-26 16:58:44 +01:00
models.py [FIX] api: improve decorator `returns` to handle special cases, like method `search` 2015-11-25 09:59:35 +01:00
netsvc.py [MERGE] forward port of branch 7.0 up to 1c0bc7c 2015-06-30 12:47:27 +02:00
pooler.py [IMP] registry: avoid every direct access registry.db, and rename attribute as registry._db 2014-04-09 15:35:15 +02:00
release.py [REL] Odoo 8.0 2014-09-18 12:11:18 +02:00
sql_db.py [FIX] Cursor.closed property 2015-05-11 16:24:33 +02:00