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

I want to show some measures in the measures dropdown only for specific group (sales admin) and hide them for other groups

let's say i have the cost measure and i want the users in sales administration group only to see it

아바타
취소
베스트 답변

Hi,

You can give groups attribute in the python file for the field.

cost = fields.Float('Cost', readonly=True, groups="sales_team.group_sale_manager")

Regards

아바타
취소
관련 게시물 답글 화면 활동
1
7월 21
3810
0
5월 17
3944
0
9월 21
78
2
5월 24
2371
0
1월 23
809