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

Hi

I have the following requirement: Let's say I have a group of users 'A' and a field 'foo', if a user belongs to group 'A' then 'foo' should be equal to zero, any other user not belonging to group 'A' should see the real 'foo' value.


Does anyone know how to achieve this?


Thanks in advance!

아바타
취소
베스트 답변

Rather than change the value must display or not display depending on the group

Like this

field name="foo" attrs="{'invisible':[('user','=',"A")]}" name="foo">


아바타
취소

So I guess the value 'foo' is involved in a calculation. We must therefore change the calculation according to the group. please, be more specific.

관련 게시물 답글 화면 활동
1
12월 21
9870
2
10월 20
12643
1
5월 23
4092
2
8월 20
3046
0
11월 15
4869