summaryrefslogtreecommitdiff
path: root/odoo/modules/loading.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-07-24 18:10:32 +0200
committerChristophe Simonis <chs@odoo.com>2018-07-24 18:10:32 +0200
commitba202dbe632463707c95e4a2ed5dc410ce5f6875 (patch)
treee4ad22713d14c0261d77fd5a946c1f9a178ecd5f /odoo/modules/loading.py
parentf999cbb5cccceab6e323d676bccbe2b7f4909d3f (diff)
parent3c521f6d05c57f79bc4fb9fef0f2a19765d9b4fa (diff)
[MERGE] forward port branch saas-11.2 up to 3c521f6d05c
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 6e123324635..896f235650b 100644
--- a/odoo/modules/loading.py
+++ b/odoo/modules/loading.py
@@ -390,7 +390,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