콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
7770 화면

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
3213
3
12월 23
21694
1
4월 23
3363
0
6월 25
338
0
1월 25
1431