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

In v7, I used to do : <kanban edit='false'> did anything changed to do so in v9 ?

Thanks.

아바타
취소

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.

베스트 답변

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

관련 게시물 답글 화면 활동
1
7월 20
5665
1
3월 25
5815
0
2월 25
2903
2
6월 16
6284
1
10월 15
8002