Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6984 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ต.ค. 18
8641
1
ก.พ. 25
1115
1
ธ.ค. 24
4176
0
พ.ย. 24
1692
2
ก.ค. 24
3498