diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-08-01 18:02:29 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-08-01 18:02:29 +0200 |
| commit | 4797627259f2d7202e48a772d5495002182d5392 (patch) | |
| tree | 97c6469927d60dea8c484e3ce0be90260e39a083 /odoo/modules/loading.py | |
| parent | abbba35598d01d1a11f1b034912608be7c132239 (diff) | |
| parent | 8d9366197e174d33fdf6962364a24ea40a1131b1 (diff) | |
[MERGE] forward port branch saas-11.4 up to 8d9366197e1
Diffstat (limited to 'odoo/modules/loading.py')
| -rw-r--r-- | odoo/modules/loading.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/modules/loading.py b/odoo/modules/loading.py index af4ed28ca59..7d79626d0fc 100644 --- a/odoo/modules/loading.py +++ b/odoo/modules/loading.py @@ -435,7 +435,7 @@ def load_modules(db, force_demo=False, status=None, update_module=False): cr.execute("""select model,name from ir_model where id NOT IN (select distinct model_id from ir_model_access)""") for (model, name) in cr.fetchall(): if model in registry and not registry[model]._abstract and not registry[model]._transient: - _logger.warning('The model %s has no access rules, consider adding one. E.g. access_%s,access_%s,model_%s,,1,0,0,0', + _logger.warning('The model %s has no access rules, consider adding one. E.g. access_%s,access_%s,model_%s,base.group_user,1,0,0,0', model, model.replace('.', '_'), model.replace('.', '_'), model.replace('.', '_')) # Temporary warning while we remove access rights on osv_memory objects, as they have |
