feature/odoo18 #2

Merged
administrator merged 43 commits from feature/odoo18 into develop 2025-05-22 16:16:43 +05:30
3 changed files with 34 additions and 6 deletions
Showing only changes of commit 000596ef67 - Show all commits

View File

@ -31,6 +31,20 @@ class HrCandidate(models.Model):
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')])
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')
def _compute_applications_stages_stat(self):
for rec in self:

View File

@ -162,6 +162,9 @@
<filter string="Job Recruitment Stage" name="job_recruitment_stage" domain="[]"
context="{'group_by': 'recruitment_stage_id'}"/>
</xpath>
<xpath expr="//search/group/filter[@name='stage']" position="attributes">
<attribute name="invisible">1</attribute>
</xpath>
</field>
</record>

View File

@ -176,8 +176,19 @@
</div>
</div>
</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 -->
<div t-field="job.website_description"/>
<!-- <div t-field="job.website_description"/>-->
<div class="oe_structure">
<section class="o_job_bottom_bar mt24 mb48">
<div class="text-center">
@ -1074,11 +1085,11 @@
<!--<template id="website_hr_recruitment_extended.default_website_description">-->
<!-- &lt;!&ndash; Description text and ratings &ndash;&gt;-->
<!-- <section class="pt32">-->
<!-- <div class="container">-->
<!-- <div class="row">-->
<!-- <div class="col-lg-8 pb32" itemprop="description">-->
<!-- <p class="lead">-->
<!-- <section class="pt32">-->
<!-- <div class="container">-->
<!-- <div class="row">-->
<!-- <div class="col-lg-8 pb32" itemprop="description">-->
<!-- <p class="lead">-->
<!-- As an employee of our company, you will <b>collaborate with each department-->
<!-- to create and deploy disruptive products.</b> Come work at a growing company-->
<!-- that offers great benefits with opportunities to moving forward and learn-->