blob: e9758ddabf887a42789c7899f8962f12ab67716b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
odoo.define('job.update_kanban', function (require) {
'use strict';
var KanbanRecord = require('web.KanbanRecord');
KanbanRecord.include({
/**
* @override
* @private
*/
_openRecord: function () {
if (this.modelName === 'hr.job' && this.$(".o_hr_job_boxes a").length) {
this.$(".o_hr_job_boxes a").first().click();
} else {
this._super.apply(this, arguments);
}
}
});
});
|