odoo.define("adefpat_project.update_kanban", function (require) { "use strict"; var KanbanRecord = require("web_kanban.Record"); KanbanRecord.include({ _openRecord: function () { if (this.modelName === "project.project") { this.$(".o_kanban_card_manage_section a").first().click(); } else { this._super.apply(this, arguments); } }, }); });