Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5694 มุมมอง

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)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 25
5825
4
ก.ค. 16
5446
1
ม.ค. 25
2035
0
ก.พ. 25
2913
0
ส.ค. 22
2832