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

How can I define attributes in a .py with a field different than state?

Inside a .py I can tell a field to be readonly if their state is for example draft:

'name': fields.char( 'Name', readonly=True, states={'draft': [('readonly', False)]}),

how can i do this with a field different to state, for example a boolean 'manual'?

아바타
취소
관련 게시물 답글 화면 활동
2
8월 25
1324
0
3월 25
1550
4
4월 24
174429
0
12월 23
2306
5
7월 25
228688