跳至內容
選單
此問題已被標幟
3 回覆
6751 瀏覽次數

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?


;)


頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案

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

頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
0
3月 22
3007
1
12月 19
5084
0
9月 17
3691
1
2月 25
4761
0
5月 18
2943