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

I want to disable drag-drop of the kanban tickets for specific object in v12 & v13.

Is there a way to do so without JS coding?

Thanks in advance.

아바타
취소
베스트 답변

Yes, you can do it by adding readonly="1" attribute in the state/stage_id field in kanban view in XML file.

Ex:

# Add readonly="1" to the field on which groupby is used in kanban
<kanban>
<field name="stage_id" readonly="1"/> or
<field name="state" readonly="1"/>
</kanban>

        // Deactivate the drag'n'drop if the groupedBy field:
        // - is a date or datetime since we group by month or
        // - is readonly (on the field attrs or in the view)

아바타
취소
관련 게시물 답글 화면 활동
1
3월 25
5852
4
7월 16
5469
1
1월 25
2107
0
2월 25
2953
0
8월 22
2875