Removed Old stage in recruitment and website description Fix
This commit is contained in:
parent
be91a849f4
commit
000596ef67
|
|
@ -31,6 +31,20 @@ class HrCandidate(models.Model):
|
||||||
applications_stages_stat = fields.Many2many('application.stage.status',string="Applications History", compute="_compute_applications_stages_stat")
|
applications_stages_stat = fields.Many2many('application.stage.status',string="Applications History", compute="_compute_applications_stages_stat")
|
||||||
# availability_status = fields.Selection([('available','Available'),('not_available','Not Available'),('hired','Hired'),('abscond','Abscond')])
|
# availability_status = fields.Selection([('available','Available'),('not_available','Not Available'),('hired','Hired'),('abscond','Abscond')])
|
||||||
|
|
||||||
|
def action_open_applications(self):
|
||||||
|
self.ensure_one()
|
||||||
|
return {
|
||||||
|
'name': _('Applications'),
|
||||||
|
'type': 'ir.actions.act_window',
|
||||||
|
'res_model': 'hr.applicant',
|
||||||
|
'view_mode': 'list,kanban,form,pivot,graph,calendar,activity',
|
||||||
|
'domain': [('id', 'in', self.applicant_ids.ids)],
|
||||||
|
'context': {
|
||||||
|
'active_test': False,
|
||||||
|
'search_default_job_recruitment_stage': 1,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
@api.depends('applicant_ids')
|
@api.depends('applicant_ids')
|
||||||
def _compute_applications_stages_stat(self):
|
def _compute_applications_stages_stat(self):
|
||||||
for rec in self:
|
for rec in self:
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,9 @@
|
||||||
<filter string="Job Recruitment Stage" name="job_recruitment_stage" domain="[]"
|
<filter string="Job Recruitment Stage" name="job_recruitment_stage" domain="[]"
|
||||||
context="{'group_by': 'recruitment_stage_id'}"/>
|
context="{'group_by': 'recruitment_stage_id'}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
<xpath expr="//search/group/filter[@name='stage']" position="attributes">
|
||||||
|
<attribute name="invisible">1</attribute>
|
||||||
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -176,8 +176,19 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section class="pt32">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8 pb32" itemprop="description">
|
||||||
|
<p class="lead">
|
||||||
|
<div t-field="job.description"/>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<!-- Job Description -->
|
<!-- Job Description -->
|
||||||
<div t-field="job.website_description"/>
|
<!-- <div t-field="job.website_description"/>-->
|
||||||
<div class="oe_structure">
|
<div class="oe_structure">
|
||||||
<section class="o_job_bottom_bar mt24 mb48">
|
<section class="o_job_bottom_bar mt24 mb48">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue