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({ _openRecord: function () { if (this.modelName === 'project.project') { this.$('.o_kanban_card_manage_section a').first().click(); } else { this._super.apply(this, arguments); } }, }); });