İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
6706 Görünümler

I'm trying to change the project kanban view so that, when we click on a card, it will call the project instead of the task list.

So, I have to change this...

<div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card oe_kanban_project oe_kanban_global_click">

into this...

<div t-attf-class="oe_kanban_color_#{kanban_getcolor(record.color.raw_value)} oe_kanban_card

oe_kanban_project oe_kanban_project_list oe_kanban_global_click">


( oe_kanban_project => oe_kanban_project oe_kanban_project_list)


Yet, I'm missing the right syntax to do this. Any ideas?


;)


Avatar
Vazgeç
En İyi Yanıt

Did you get anywhere with this? I have the same issue.

Avatar
Vazgeç
En İyi Yanıt

Nop !! Just remove JS code of kanban card click(Project > static > src > Js > project.js ) ...

Avatar
Vazgeç

How can we do that without changing source code(e.g. in a module). thanks

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 22
2940
1
Ara 19
5059
0
Eyl 17
3671
1
Şub 25
4732
0
May 18
2914