summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/data.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2015-06-23 15:30:58 +0200
committerMartin Trigaux <mat@odoo.com>2015-11-30 13:11:02 +0100
commit44248a07a561508e45e5c951fba169bf1a60093b (patch)
tree23f4e4b2df80ad64c5a6a41f0541a0710fcbb95f /addons/web/static/src/js/framework/data.js
parent93d4db9d1e5ff7b1676b2f8a5392d8baf2afd79e (diff)
[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
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions