Odoo Help

0

Kanban - change action in project

By
Rui Franco
on 7/5/16, 5:46 AM 793 views

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?


;)


-1
Pinakin Nayi (pna)
On 7/5/16, 9:07 AM

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

Bonnet Denis
on 11/28/16, 9:01 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/5/16, 5:46 AM
Seen: 793 times
Last updated: 7/5/16, 9:07 AM