تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
6749 أدوات العرض

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
مارس 22
3005
1
ديسمبر 19
5083
0
سبتمبر 17
3689
1
فبراير 25
4761
0
مايو 18
2942