diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-07-23 14:57:03 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-07-23 14:57:03 +0200 |
| commit | c4ee29345a64f6c0fe412c522b4888d630e2ba64 (patch) | |
| tree | 6dc879ddea529607b90c32de8e745ea2d855fe98 /odoo/modules/loading.py | |
| parent | 1de78253ff8551f1594453649986cb8adfeb67d1 (diff) | |
| parent | 9ee882564f61d04a6da8f9b225b78d20341a30d8 (diff) | |
[MERGE] forward port branch saas-14 up to 9ee882564f6
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 bff7bc7a3ba..915172bd7fb 100644 --- a/odoo/modules/loading.py +++ b/odoo/modules/loading.py @@ -387,7 +387,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 |
