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

I need to write a rules to allow customers to see their invoices, but I get this error


odoo.exceptions.AccessError: ('Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:\n- Sales/User: Own Documents Only\n\t- Other Extra Rights/Portal\n\t- Technical Settings/Show Full Accounting Features\n\t- Inventory/User\n\t- Accounting & Finance/Billing\n\n(Document model: account.invoice.line) - (Operation: read, User: 243)', None)


How can I set the rules to give it access?

아바타
취소
베스트 답변

Yes, you can add the access rights of account.invoice.line (only read access). + record rule so he/she can see own invoices only. (also you need to assign read access of additional object which are used in invoice.line, so portal user can easily navigate the record.)

아바타
취소
베스트 답변

Sales -> Orders -> Customers -> Select the customer you want give him access


Action -> Grant portal access -> Tick in portal


Thanks

아바타
취소
관련 게시물 답글 화면 활동
1
3월 24
5333
4
10월 20
6842
0
3월 15
3735
1
8월 23
16793
1
10월 21
4617