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

Hello all.

I have a read-only boolean field which must be updated if some python constraints are returning false during the save of the record.

As the instance is not stored in the database until we click the "Save" button, i can't find any way to update this field. I know i could do that on an on_change method, but i must do that precisely at that moment for some client demands and to facilitate understanding.

I hope someone can help me.

아바타
취소

Can you post your form view and say what should be done. If we can not try, it's difficult to ask you. on_change method should do the job I think. I can post answer if you give more details.

관련 게시물 답글 화면 활동
0
3월 15
3376
1
2월 22
6766
0
12월 21
1808
0
3월 15
3495
2
3월 15
6628