Hello,
I'm working on Odoo10 and I need to inherit javascript code so that when clicking on project kanban I can show form view instead of project tasks view
This is my JS code on the new module:
odoo.define('new_module_project.update_kanban', function (require) {
'use strict';
var KanbanRecord = require('web_kanban.Record');
var QWeb = core.qweb;
var _t = core._t;
KanbanRecord.include({
    on_card_clicked: function() {
        if (this.view.dataset.model === 'project.project') {
            this.$('.o_kanban_card_manage_section a').first().click();
        } else {
            this._super.apply(this, arguments);
        }
    },
});
});
I called the js file on assets_backend .
but this is not working..
thanks, 
