This question has been flagged
1 Reply
5338 Views

I create a module on openerp 7.0 , installed it . And it works. I create an ir.model.access.csv file .I upgrade the module . the following errors occurs

2013-06-19 07:51:59,170 16515 INFO test-db openerp.modules.loading: module eBay-Connector: loading security/ir.model.access.csv 2013-06-19 07:51:59,177 16515 ERROR test-db openerp.netsvc: 'NoneType' object has no attribute 'import_data'

here is the content of ir.model.access.csv

"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_ebayerp_configure","ebayerp.configure","model_ebayerp_configure","base.group_user",1,1,1,0

i unistalle the module .then install it . but there is no luck.

who can help me.thanks

Avatar
Discard
Best Answer

I had this same error while following the odoo12 development essentials book and i fixed my error by putting the code in different lines like this, making it look like it follows up to the first column format.

id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_book_user,BookUser,model_library_book,library_group_user,1,0,0,0
access_book_manager,BookManager,model_library_book,library_group_manager,1,1,1,1

Avatar
Discard

I haven't seen that I was having a new line until I've toggled word wrap in my editor (after I've seen your comment)

I was pretty sure they were on the same line !

Useful info,

Thx