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

Hello,

I create a module and I gave some security to access account.invoice model. For my security group, I added reading capabilities to model_account_invoice. When I load my module I get the following error message. I looked in some Odoo module security file and I saw that it is wrote well. I added "account" as a dependence of my module and I still getting this error message.

Exception: Module loading custom_module failed: file custom_module/security/ir.model.access.csv could not be processed:
 Line 34 : No matching record found for external id 'model_account_invoice' in field 'Object' 

What I forgot?

Thanks


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

Try using account.model_account_invoice instead of just model_account_invoice

อวตาร
ละทิ้ง
ผู้เขียน

That's working!!!!! Thanks for the hint!

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 17
3215
3
ธ.ค. 23
21708
1
เม.ย. 23
3378
0
มิ.ย. 25
346
0
ม.ค. 25
1439