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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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)
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 3 25
|
5826 | ||
|
4
thg 7 16
|
5447 | ||
|
1
thg 1 25
|
2040 | ||
|
0
thg 2 25
|
2916 | ||
|
0
thg 8 22
|
2837 |