summaryrefslogtreecommitdiff
path: root/openerp/modules/loading.py
diff options
context:
space:
mode:
Diffstat (limited to 'openerp/modules/loading.py')
-rw-r--r--openerp/modules/loading.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/modules/loading.py b/openerp/modules/loading.py
index 29a7e3e68e6..15948b2dec5 100644
--- a/openerp/modules/loading.py
+++ b/openerp/modules/loading.py
@@ -360,7 +360,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].is_transient() and not isinstance(registry[model], openerp.osv.orm.AbstractModel):
- _logger.warning('The model %s has no access rules, consider adding one. E.g. access_%s,access_%s,model_%s,,1,1,1,1',
+ _logger.warning('The model %s has no access rules, consider adding one. E.g. access_%s,access_%s,model_%s,,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