diff --git a/addons/hr_recruitment/hr_recruitment.py b/addons/hr_recruitment/hr_recruitment.py index 8ab7c9fc67d..6ac8d7cf4dd 100644 --- a/addons/hr_recruitment/hr_recruitment.py +++ b/addons/hr_recruitment/hr_recruitment.py @@ -400,13 +400,6 @@ class hr_applicant(base_stage, osv.Model): return super(hr_applicant, self).message_update(cr, uid, ids, msg, update_vals=update_vals, context=context) - def create(self, cr, uid, vals, context=None): - obj_id = super(hr_applicant, self).create(cr, uid, vals, context=context) - applicant = self.browse(cr, uid, obj_id, context=context) - if applicant.job_id: - self.pool.get('hr.job').message_post(cr, uid, [applicant.job_id.id], body=_('Applicant created'), subtype="hr_recruitment.mt_job_new_applicant", context=context) - return obj_id - def case_open(self, cr, uid, ids, context=None): """ open Request of the applicant for the hr_recruitment diff --git a/addons/hr_recruitment/hr_recruitment_view.xml b/addons/hr_recruitment/hr_recruitment_view.xml index a40ec39568e..96ddd2e9e4e 100644 --- a/addons/hr_recruitment/hr_recruitment_view.xml +++ b/addons/hr_recruitment/hr_recruitment_view.xml @@ -358,35 +358,19 @@
  • -
    + diff --git a/addons/hr_recruitment/static/src/css/job_position.css b/addons/hr_recruitment/static/src/css/job_position.css index 25a10a5d388..0f30df708dd 100644 --- a/addons/hr_recruitment/static/src/css/job_position.css +++ b/addons/hr_recruitment/static/src/css/job_position.css @@ -1,11 +1,12 @@ .openerp .oe_kanban_job { width: 230px; - min-height: 140px !important; } .openerp .oe_job{ font-size:112%; - margin:3px 0px; + margin:3px 3px; + margin-left: 45px; + color: #4c4c4c; } .openerp .oe_job_message{ float: right; @@ -13,16 +14,21 @@ margin-top: -4px !important; } .openerp img.oe_kanban_avatar{ - float: right; - margin-top: -24px !important; - margin-right: 18px; - width:30px; - height:30px + margin-top: -23px; + width:38px; + height:38px; } .openerp div.oe_kanban_ellipsis{ width:180px; } -.openerp .oe_kanban_action_a > span:hover{ +.openerp div.oe_application > span:hover{ margin: 4px 0; text-decoration: underline -} \ No newline at end of file +} +.openerp .oe_name { + margin-left: 44px; + margin-top: -18px; + margin-bottom: -15px; + font-size: 11px; + color: gray; +}