diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index 4cde91ba5fd..23d7ecbe719 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -381,28 +381,29 @@ -
+ -
Expected New Employees
+
+
Expected New Employees
+
Expected New Employee
+
Forecast -

To start a recruitment phase for this job position,click here

-
diff --git a/addons/hr_recruitment/static/src/css/job_position.css b/addons/hr_recruitment/static/src/css/job_position.css index ace9af4115f..ef744b3a3db 100644 --- a/addons/hr_recruitment/static/src/css/job_position.css +++ b/addons/hr_recruitment/static/src/css/job_position.css @@ -1,28 +1,30 @@ +.openerp .oe_kanban_job{ + width: 275px; + min-height: 147px !important; +} .openerp .oe_job { font-size:112%; margin:3px 3px; margin-left: 45px; color: #4c4c4c; } -.openerp .oe_job_message { - float: right; - margin-right: 80px; - margin-top: -4px !important; -} .openerp img.oe_kanban_avatar { margin-top: -23px; width:38px; height:38px; } -.openerp div.oe_kanban_ellipsis { - width:180px; +.openerp .oe_launch_recruitment{ + float: right; + position: absolute; + bottom: 3px; + right: 10px; } -.openerp .oe_job_launch > a:hover { - text-decoration: underline -} -.openerp div.oe_application { +.openerp div.oe_applications { margin-top: 24px; } +.openerp .oe_applications > a > div:hover { + text-decoration: underline +} .openerp .oe_name { margin-left: 44px; margin-top: -18px; @@ -30,32 +32,10 @@ font-size: 11px; color: gray; } -.openerp .oe_kanban_job{ - width: 275px; - min-height: 147px !important; -} -.openerp .oe_kanban_footer_right { - float: right; -} -.openerp .oe_kanban_draghandle { - height: 114px; -} -.openerp .oe_kanban_footer_right{ - width: 220px; -} -.openerp .link{ - float:right; -} -.openerp .oe_job_launch{ - float: right; - position: absolute; - bottom: 3px; - right: 10px; -} .openerp .oe_department { display: inline-block; } -.openerp .oe_new_emp { +.openerp .oe_new_recruitment { margin-top: 6px; color: #4c4c4c; } diff --git a/addons/hr_recruitment/static/src/js/job_position.js b/addons/hr_recruitment/static/src/js/job_position.js index eecd7e451a7..d6668dd1b97 100644 --- a/addons/hr_recruitment/static/src/js/job_position.js +++ b/addons/hr_recruitment/static/src/js/job_position.js @@ -3,12 +3,11 @@ openerp.hr_recruitment = function (openerp) { openerp.hr_recruitment.GaugeWidget = openerp.web_kanban.AbstractField.extend({ start: function() { var self = this; - var parent = self.getParent(); var unique_id = _.uniqueId("JustGage"); var label = this.options.label_field ? parent.record[this.options.label_field].string : ""; var value = parent.values.no_of_hired_employee.value; - //var min_value = parent.no_of_employee.value; + var flag_open = false; this.$el.empty() .attr('style', this.$node.attr('style') + ';float: right;margin-top: -84px;margin-right: -31px;') .attr('id', unique_id); @@ -31,7 +30,6 @@ openerp.hr_recruitment = function (openerp) { "#a9d70b" ], }); - var flag_open = false; if (self.options.action_change) { self.$el.click(function (event) { event.stopPropagation(); @@ -53,9 +51,7 @@ openerp.hr_recruitment = function (openerp) { parent.view.dataset.call(self.options.action_change, [parent.id, $input.val()]).then(function () { parent.do_reload(); }); - } else { - $div.remove(); - } + } else { $div.remove();} } }) .click(function (event) {