summaryrefslogtreecommitdiff
path: root/openerp/modules/loading.py
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2015-02-24 14:47:19 +0100
committerOlivier Dony <odo@openerp.com>2015-02-24 14:47:19 +0100
commit95a2f8b121d9d814f9d90b63d3ce06e455f770cc (patch)
tree43599d19c5ab45df93a3d9c5d24b062a8378946b /openerp/modules/loading.py
parentdb4355d3816db8b545991723613ae66f1c61d128 (diff)
parentcbb51610ee1506e67f5aaab703130ff8a2d824b6 (diff)
[MERGE] Forward-port latest bugfixes from 8.0 up to cbb51610ee1506e67f5aaab703130ff8a2d824b6
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