diff --git a/addons/website_hr_recruitment/data/hr_job_demo.xml b/addons/website_hr_recruitment/data/hr_job_demo.xml index 2d8af292723..2aa86e062e7 100644 --- a/addons/website_hr_recruitment/data/hr_job_demo.xml +++ b/addons/website_hr_recruitment/data/hr_job_demo.xml @@ -8,7 +8,7 @@
-
+

As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to @@ -142,7 +142,7 @@

What's great in the job?


-
+
  • Great team of smart people, in a friendly and open culture
  • No dumb managers, no stupid tools to use, no rigid working hours
  • @@ -235,7 +235,7 @@
    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to @@ -462,7 +462,7 @@

    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to @@ -688,7 +688,7 @@

    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to @@ -914,7 +914,7 @@

    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to @@ -1140,7 +1140,7 @@

    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to @@ -1366,7 +1366,7 @@

    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company that offers great benefits with opportunities to diff --git a/addons/website_hr_recruitment/models/hr_job.py b/addons/website_hr_recruitment/models/hr_job.py index f578fba08ac..d28f3350729 100644 --- a/addons/website_hr_recruitment/models/hr_job.py +++ b/addons/website_hr_recruitment/models/hr_job.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -from odoo import fields, models +from odoo import api, fields, models from odoo.tools import mute_logger from odoo.tools.translate import html_translate @@ -33,6 +33,12 @@ class Job(models.Model): Days to get an Offer

    4 Days after Interview
    """) + published_date = fields.Date(compute='_compute_published_date', store=True) + + @api.depends('website_published') + def _compute_published_date(self): + for job in self: + job.published_date = job.website_published and fields.Date.today() def _compute_website_url(self): super(Job, self)._compute_website_url() diff --git a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml index bd6a1036fa5..b7e7844328a 100644 --- a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml +++ b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml @@ -79,42 +79,55 @@ Job Detail
    - -
    -
    - -
    -
    - -
    -
    -
    - -

    -

    -
    -
    -
    +
    + + + + + + + + + + -
    - -
    -
    -
    - Apply Now! + +
    +
    +
    + +
    +
    +
    + +

    +

    +
    +
    +
    + +
    + +
    +
    + +
    +
    @@ -306,7 +319,7 @@
    -
    +

    As an employee of our company, you will collaborate with each department to create and deploy disruptive products. Come work at a growing company @@ -401,7 +414,7 @@

    Responsibilities

    -
      +
      • Lead the entire sales cycle
      • Achieve monthly sales objectives
      • Qualify the customer needs
      • @@ -413,7 +426,7 @@

        Must Have

        -
          +
          • Bachelor Degree or Higher
          • Passion for software products
          • Perfect written English
          • @@ -464,7 +477,7 @@
    -
    +

    What We Offer