Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
6758 Lượt xem

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?


;)


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 22
3016
1
thg 12 19
5095
0
thg 9 17
3702
1
thg 2 25
4763
0
thg 5 18
2944