跳至内容
菜单
此问题已终结
1 回复
7754 查看

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!

相关帖文 回复 查看 活动
1
1月 17
3204
3
12月 23
21687
1
4月 23
3360
0
6月 25
321
0
1月 25
1423