Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
6748 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar

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

Publicações relacionadas Respostas Visualizações Atividade
0
mar. 22
3004
1
dez. 19
5083
0
set. 17
3689
1
fev. 25
4761
0
mai. 18
2940