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

Hello,

Under Sales->Products->Products there is a 'Procurements' tab which shows the cost price for the product.

I have sales users set up and would like to restrict access to this information. What is the best way to do this? I'm assuming that editing the view for the user will not be a secure way to do it..

Thanks, Lawrence

아바타
취소
베스트 답변

You can add the group sale manager to the field. so that only the users coming under sales manager can see the field. if you add groups in the view then the visibility is controlled by the group. but if you add groups when defining the fields in python then the field will be completely unavailable.

reference :http://doc.openerp.com/trunk/developers/server/04_security/#field-access-rights

아바타
취소
작성자

Thanks Omal- that's exactly what I was looking for. I'm still an openERP beginner so have up until now only been working on simple modifications through the UI or simply changing a group name in some XML. How do I add the syntax required for a particular Field? (For example my case of cost price). Thanks for the help!

관련 게시물 답글 화면 활동
0
5월 24
1051
2
5월 19
3085
1
3월 15
5505
3
3월 15
11286
4
3월 15
6254