In v7, I used to do : <kanban edit='false'> did anything changed to do so in v9 ?
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
In v7, I used to do : <kanban edit='false'> did anything changed to do so in v9 ?
Thanks.
I had same problem like yours and I solved by inheriting javascript. In my case I only block drag and drop on model "crm.lead" so I put my code like this:
var KanbanColumn = require('web_kanban.Column');
KanbanColumn.include({
start: function() {
if (this.record_options.model === "crm.lead"){
this.draggable = false; // In this case I block draggable if the model is crm.lead
}
this._super.apply(this, arguments);
},
});
Hello,
do you know how to draggable option false based on a CRM User and CRM Manager ?
if you know please let me know,
Thanks in Advance
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 | |
---|---|---|---|---|
Disable kanban drag-drop of tickets
Đã xử lý
|
|
1
thg 7 20
|
5346 | |
|
1
thg 3 25
|
5545 | ||
|
0
thg 2 25
|
2649 | ||
|
2
thg 6 16
|
6022 | ||
|
1
thg 10 15
|
7799 |
you remove the GROUP BY in the action.
Here is my action :
<record id="menu_pa_second_child_action" model="ir.actions.act_window">
<field name="name">Private accompanied persons</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">kiosque.accompaniment</field>
<field name="view_mode">tree,kanban,form</field>
<field name="context">{'search_default_in_progress': 1}</field>
</record>
There is no group by, I can't see what are you talking about ?
I want to still group my record on kanban view, at the same time deactivate drag and drop.