summaryrefslogtreecommitdiff
path: root/odoo/modules/loading.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-07-23 14:21:06 +0200
committerChristophe Simonis <chs@odoo.com>2018-07-23 14:21:06 +0200
commit9ee882564f61d04a6da8f9b225b78d20341a30d8 (patch)
treefb16e615c4b65fc8ca6bac7f4b0b2e775a50936d /odoo/modules/loading.py
parent1409421b261db43d1afcb3c38c398e11c442b8a1 (diff)
parent6e71cf8a71d0713945947a4e96a9b70978d7f90d (diff)
[MERGE] forward port branch 10.0 up to 6e71cf8a71d
Diffstat (limited to 'odoo/modules/loading.py')
-rw-r--r--odoo/modules/loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/modules/loading.py b/odoo/modules/loading.py
index 2c4f6a26e28..3f073a30c93 100644
--- a/odoo/modules/loading.py
+++ b/odoo/modules/loading.py
@@ -388,7 +388,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