Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
6702 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
0
bře 22
2938
1
pro 19
5057
0
zář 17
3668
1
úno 25
4728
0
kvě 18
2913