Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
6744 Vues

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer

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

Publications associées Réponses Vues Activité
0
mars 22
3000
1
déc. 19
5081
0
sept. 17
3689
1
févr. 25
4761
0
mai 18
2940