diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-07-30 17:02:28 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-07-30 17:02:28 +0200 |
| commit | a719cf256364c35229ac1695e9011870616bcce4 (patch) | |
| tree | 2af64c5818e3732d6d6f534eae6b7ed5d8a873f6 /odoo/modules/loading.py | |
| parent | 25de4a542679893066feb978dd4d8e731cbe495f (diff) | |
| parent | b4555df336d05481de3077f3513a34b315f39bce (diff) | |
[MERGE] forward port branch saas-11.3 up to b4555df336d
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 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 |
