[REM] hr_recruitement: remove useless files
The sass/css rules didn't apply (.openerp). The JS redirects the kanban record clicks to a click on an element that doesn't exist anymore.
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
.openerp .oe_manager_name {
|
||||
font-size: 11px;
|
||||
}
|
||||
.openerp .oe_gray {
|
||||
color: gray;
|
||||
}
|
||||
.openerp .oe_link_hover:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
.openerp .oe_applicant_kanban {
|
||||
width: 276px;
|
||||
}
|
||||
.openerp .oe_margin_top_4 {
|
||||
margin-top: 4px;
|
||||
}
|
||||
.openerp .oe_job_head {
|
||||
margin-bottom: -4px;
|
||||
font-size: 15px;
|
||||
}
|
||||
.openerp .oe_job_font {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.openerp .oe_job_avatar {
|
||||
width: 24px;
|
||||
}
|
||||
|
||||
.openerp .oe_applications {
|
||||
margin-top: 30px;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
.openerp
|
||||
.oe_kanban_job
|
||||
width: 355px
|
||||
min-height: 220px !important
|
||||
.oe_manager_name
|
||||
font-size: 11px
|
||||
.oe_gray
|
||||
color: gray
|
||||
.oe_applicant_kanban
|
||||
width: 276px
|
||||
.oe_margin_top_4
|
||||
margin-top: 4px
|
||||
.oe_job_head
|
||||
margin-bottom: -4px
|
||||
font-size: 15px
|
||||
oe_job_font
|
||||
font-size: 15px
|
||||
.oe_job_avatar
|
||||
width: 24px
|
||||
oe_applications
|
||||
margin-top: 30px
|
||||
@@ -1,16 +0,0 @@
|
||||
odoo.define('hr_recruitment.hr_recruitment', function(require) {
|
||||
"use strict";
|
||||
|
||||
var KanbanRecord = require('web.KanbanRecord');
|
||||
|
||||
KanbanRecord.include({
|
||||
on_card_clicked: function() {
|
||||
if (this.modelName === 'hr.job') {
|
||||
this.$('.oe_applications a').first().click();
|
||||
} else {
|
||||
this._super.apply(this, arguments);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
});
|
||||
@@ -3,9 +3,6 @@
|
||||
<data>
|
||||
<template id="assets_backend" name="hr_recruitment assets" inherit_id="web.assets_backend">
|
||||
<xpath expr="." position="inside">
|
||||
<link rel="stylesheet" href="/hr_recruitment/static/src/css/job_position.css"/>
|
||||
|
||||
<script type="text/javascript" src="/hr_recruitment/static/src/js/job_position.js"></script>
|
||||
<script type="text/javascript" src="/hr_recruitment/static/src/js/tour.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -297,13 +297,13 @@
|
||||
<field name="priority" widget="priority"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_kanban_bottom_left oe_margin_top_4">
|
||||
<div class="oe_kanban_bottom_left mt4">
|
||||
<t t-if="record.message_needaction_counter.raw_value">
|
||||
<span class='oe_kanban_mail_new' title='Unread Messages'><i class='fa fa-comments'/><t t-raw="record.message_needaction_counter.raw_value"/></span>
|
||||
</t>
|
||||
<a t-if="record.attachment_number" name="action_get_attachment_tree_view" type="object"> <field name="attachment_number"/> Documents</a>
|
||||
</div>
|
||||
<div class="oe_kanban_footer_left oe_margin_top_4">
|
||||
<div class="oe_kanban_footer_left mt4">
|
||||
</div>
|
||||
</div>
|
||||
<div class="oe_clear"></div>
|
||||
|
||||
Reference in New Issue
Block a user