Odoo Help


Error creating access lists via module

Jeff Beidler
on 2/2/15, 7:53 PM 1,511 views

Here is my ir.model.access.csv file:


When I restart the server and update my module, I see this error:

openerp.tools.convert: Import specification does not contain 'id' and we are in init mode, Cannot continue.

The group "group_scheduleb_manager" shows up correctly.  I created that in XML.  I just can't get the access lists to go through.  Any ideas?




| 5 3 6
Jakarta, Indonesia
On 2/2/15, 8:36 PM

There are two missing fields: id and model_id.  Here is a snippet from account module's:


Use 1 and 0 instead of TRUE and FALSE.

I had copied the CSV headers from another module. Don't remember which one. The 'id' field, I assume, is what will be the External ID for the new access list, and I can just make up anything I like, correct? I'm still getting an error for the model field. It says, " No matching record found for external id 'mymod.scheduleb' in field 'Object'. The table I'm trying to provide access to is "mymod_scheduleb". I've tried every combination of identifiers I can think of. How do I know what to put in that spot?

Jeff Beidler
on 2/3/15, 11:44 AM

Aha! It's working! Looks like you have to preface your table name with "model_"?

Jeff Beidler
on 2/3/15, 12:09 PM

Yes, the id field will became the XML/External ID of that particular record. And yes, iIn OpenERP the XML/External ID of all models will be the model name prefixed with model_ (e.g. account_account --> model_account_account).

on 2/4/15, 2:55 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/2/15, 7:53 PM
Seen: 1511 times
Last updated: 3/16/15, 8:10 AM