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

Hello,

I'm currently using Odoo 12.0+e-20181025. At the moment I'm using the Helpdesk module and have been trying to modify it so that it can't be edited after it reached a certain stage. While my team managed to make it so that it can't change stage after reaching a certain stage, we realized that it can still be edited and then saved.

Is there a way to make it so that the edit/save button become invisible or at least unclickable when the ticket had reached a certain stage in the flow?

Thanks for reading and for the help. 

아바타
취소
베스트 답변

You can make the fields readonly using attrs based on your stage.

아바타
취소
작성자

That is a valid solution, but I don't think editing each of my 165 fields is going to be a good option. Thanks, I'll do that if all else is fail. Thank you.

관련 게시물 답글 화면 활동
1
7월 23
3103
1
7월 25
654
1
10월 24
1963
5
8월 23
3663
2
3월 23
10483