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

I am running Odoo17 Enterprise on-premise (not on .sh).

I want to restrict access for portal users to only see their own records and not be able to see the records of other users that are connected to their company (similar to how it works in contacts in the backend). I assume that this would be done in record rules?

아바타
취소
베스트 답변

Hi 

yes that is done by record rules but needs intensive and clean testing

warm regards

Daniel

아바타
취소
작성자 베스트 답변

Anyone know where to start on the syntax for this?

I have changed Portal Personal Quotations/Sales Orders rule from the preset rule (for some reason I cannot post that because i can't seem to post more than one rule) to:


[('message_partner_ids', 'in', [user.partner_id.id])]


It seems to work but It would be good to get some feedback on this to make sure that I'm not making any rookie mistakes that may lead to a disaster.

아바타
취소
관련 게시물 답글 화면 활동
1
1월 24
1580
1
12월 24
1364
1
11월 24
1189
0
11월 24
15
2
10월 24
33