When clicking on project kanban card it opens project.task kanban view instead of opening project form view.
What i want is when clicking the project kanban view it opens related project form view instead of tasks kanban.
I had a look to project.js file :
KanbanRecord.include({
on_card_clicked: function () {
if (this.model === 'project.project') {
this.$('.o_project_kanban_boxes a').first().click();
} else {
this._super.apply(this, arguments);
}
},
What i need to change in this function to achieve my need ?