Odoo Help

0

Give access to odoo model in access controls list give "No matching record found for external id"

By
Evans Bernier
on 7/21/16, 4:03 PM 497 views

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


1
Shawn Varghese
On 7/22/16, 1:47 AM

Try using account.model_account_invoice instead of just model_account_invoice

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

Evans Bernier
on 7/22/16, 2:50 PM

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.

Register

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)

Stats

Asked: 7/21/16, 4:03 PM
Seen: 497 times
Last updated: 7/22/16, 2:49 PM