跳至内容
菜单
此问题已终结
3 回复
6718 查看

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
2958
1
12月 19
5063
0
9月 17
3675
1
2月 25
4739
0
5月 18
2922