+
+
-
diff --git a/addons/website_hr_recruitment/models/hr_job.py b/addons/website_hr_recruitment/models/hr_job.py
index bf8cefad23c..400eec530c0 100644
--- a/addons/website_hr_recruitment/models/hr_job.py
+++ b/addons/website_hr_recruitment/models/hr_job.py
@@ -11,10 +11,19 @@ class Job(models.Model):
_name = 'hr.job'
_inherit = ['hr.job', 'website.seo.metadata', 'website.published.multi.mixin']
+ @mute_logger('odoo.addons.base.models.ir_qweb')
+ def _get_default_description(self):
+ return self.env['ir.qweb']._render('website_hr_recruitment.default_description', raise_if_not_found=False)
+
@mute_logger('odoo.addons.base.models.ir_qweb')
def _get_default_website_description(self):
return self.env['ir.qweb']._render("website_hr_recruitment.default_website_description", raise_if_not_found=False)
+ description = fields.Html(
+ 'Job Description', translate=html_translate,
+ default=_get_default_description, prefetch=False,
+ sanitize_overridable=True,
+ sanitize_attributes=False, sanitize_form=False)
website_published = fields.Boolean(help='Set if the application is published on the website of the company.')
website_description = fields.Html(
'Website description', translate=html_translate,
diff --git a/addons/website_hr_recruitment/static/src/img/job_congratulations.svg b/addons/website_hr_recruitment/static/src/img/job_congratulations.svg
new file mode 100644
index 00000000000..7da0ab51874
--- /dev/null
+++ b/addons/website_hr_recruitment/static/src/img/job_congratulations.svg
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_10.jpg b/addons/website_hr_recruitment/static/src/img/job_image_10.jpg
new file mode 100644
index 00000000000..1e1b7ca6cc5
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_10.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_11.jpg b/addons/website_hr_recruitment/static/src/img/job_image_11.jpg
new file mode 100644
index 00000000000..40c9b843f31
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_11.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_12.jpg b/addons/website_hr_recruitment/static/src/img/job_image_12.jpg
new file mode 100644
index 00000000000..aadec014dd2
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_12.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_13.jpg b/addons/website_hr_recruitment/static/src/img/job_image_13.jpg
new file mode 100644
index 00000000000..078b7e7a521
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_13.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_7.jpg b/addons/website_hr_recruitment/static/src/img/job_image_7.jpg
new file mode 100644
index 00000000000..50ad645f1cb
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_7.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_8.jpg b/addons/website_hr_recruitment/static/src/img/job_image_8.jpg
new file mode 100644
index 00000000000..64c336ec179
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_8.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_image_9.jpg b/addons/website_hr_recruitment/static/src/img/job_image_9.jpg
new file mode 100644
index 00000000000..b86c03dfe04
Binary files /dev/null and b/addons/website_hr_recruitment/static/src/img/job_image_9.jpg differ
diff --git a/addons/website_hr_recruitment/static/src/img/job_not_found.svg b/addons/website_hr_recruitment/static/src/img/job_not_found.svg
new file mode 100644
index 00000000000..09e83ef8522
--- /dev/null
+++ b/addons/website_hr_recruitment/static/src/img/job_not_found.svg
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/website_hr_recruitment/static/src/img/job_product.svg b/addons/website_hr_recruitment/static/src/img/job_product.svg
new file mode 100644
index 00000000000..34ea94400a9
--- /dev/null
+++ b/addons/website_hr_recruitment/static/src/img/job_product.svg
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/addons/website_hr_recruitment/static/src/scss/website_hr_recruitment.scss b/addons/website_hr_recruitment/static/src/scss/website_hr_recruitment.scss
index 1b553eec29a..5ccc2396564 100644
--- a/addons/website_hr_recruitment/static/src/scss/website_hr_recruitment.scss
+++ b/addons/website_hr_recruitment/static/src/scss/website_hr_recruitment.scss
@@ -1,25 +1,28 @@
-.o_website_hr_recruitment_jobs_list {
- #jobs_grid_left {
- ul.flex-column > li.nav-item > a {
- padding: .5rem 1rem;
- border-radius: 0.125rem;
- }
- }
- .card {
- padding: 15px;
- box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.17);
- &:hover {
- transition: box-shadow 0.3s cubic-bezier(0.55, 0, 0.1, 1);
- box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.05);
- }
+.o_website_hr_recruitment_jobs_list {
+ #jobs_grid {
.o_job_infos {
.fa {
- color: map-get($theme-colors, 'primary');
- margin-right: 8px;
+ color: theme-color('secondary');
+ margin-right: .5rem;
}
}
+
+ .card {
+ &, * {
+ transition: all .1s;
+ }
+
+ &:hover {
+ box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.05);
+ }
+ }
+
+ .o_jobs_unpublished {
+ opacity: .6;
+ }
}
+
.o_website_hr_recruitment_job_description {
//The ellipsis may not be supported on all platforms, the text will just break for them
max-height: 60px; //Limit to 3 lines
@@ -63,3 +66,20 @@
border-color: #35979c;
background-color: #fff;
}
+
+%o_website_hr_recruitment_hover {
+ transition: .5s;
+
+ &:hover {
+ transform: scale(1.01, 1.01);
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.25) !important;
+ }
+}
+.o_jobs_image_gallery.s_image_gallery img {
+ @extend %o_website_hr_recruitment_hover;
+}
+#jobs_section, #jobs_thankyou {
+ .s_company_team .o_jobs_hr_recruiter {
+ @extend %o_website_hr_recruitment_hover;
+ }
+}
diff --git a/addons/website_hr_recruitment/static/tests/tours/website_hr_recruitment.js b/addons/website_hr_recruitment/static/tests/tours/website_hr_recruitment.js
index 3268cdf7d7e..1c6e9c5fe35 100644
--- a/addons/website_hr_recruitment/static/tests/tours/website_hr_recruitment.js
+++ b/addons/website_hr_recruitment/static/tests/tours/website_hr_recruitment.js
@@ -6,7 +6,7 @@
function applyForAJob(jobName, application) {
return [{
content: "Select Job",
- trigger: `.oe_website_jobs h3 span:contains(${jobName})`,
+ trigger: `.oe_website_jobs h3:contains(${jobName})`,
}, {
content: "Apply",
trigger: ".js_hr_recruitment a:contains('Apply')",
@@ -31,7 +31,7 @@
trigger: ".s_website_form_send",
}, {
content: "Check the form is submitted without errors",
- trigger: ".oe_structure:has(h1:contains('Congratulations'))",
+ trigger: "#jobs_thankyou h1:contains('Congratulations')",
}];
}
diff --git a/addons/website_hr_recruitment/views/hr_job_views.xml b/addons/website_hr_recruitment/views/hr_job_views.xml
index 5ec0ed932a7..91644f56624 100644
--- a/addons/website_hr_recruitment/views/hr_job_views.xml
+++ b/addons/website_hr_recruitment/views/hr_job_views.xml
@@ -17,7 +17,7 @@
-
+
Published
Not published
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 822c9606665..62d83206a9c 100644
--- a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml
+++ b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml
@@ -3,81 +3,101 @@
-
-
-
-
-
-
-
Our Job Offers
-
Join us and help disrupt the enterprise market!
-
- Join us, we offer you an extraordinary chance to learn, to
- develop and to be part of an exciting experience and
- team.
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
- Job Detail
+
+
+
+
+
@@ -90,18 +110,6 @@
-
-
-
-
+
-
-
+
@@ -133,6 +141,7 @@
+
Apply Job
@@ -314,6 +323,15 @@
+
+
+
+ You can customize this sample job description with a short overview of
+ the job position, defining specific terms and benefits. Keep it simple
+ an clear.
+
+
+
-
+
-
What's great in the job?
-
-
-
+
+
+
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
@@ -465,18 +483,21 @@
Real responsibilities and challenges in a fast evolving company
-
-
-
Our Product
-
Discover our products.
-
READ
+
+
+
+
+
+
Discover our products.
+
READ
+
-
+
What We Offer
@@ -512,34 +533,32 @@
-
+
-
-
-
+
+
+
-
-
-
-
-
+
+
-
-
-
+
+
+
-
+
/job-thank-you
True
@@ -549,55 +568,80 @@
website_hr_recruitment.thankyou
+
+
+
-
-
-
-
-
Congratulations!
-
- Your application has been posted successfully.
-
-
-
-
-
-
-
-
-
Your application has been sent to:
+
+
+
+
+
Congratulations!
+
+ Your application has been posted successfully,
+ We usually respond within 3 days...
+
+
+
+
+
+ In the meantime,
+ Take a look around our website:
+
+
Home About Us Products
-
-
-
-
- We usually reply between one and three days.
- Feel free to contact him/her if you have further questions.
-
-
-
-
-
+
+
+
+
+
+
Your contact information is:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ I usually answer applications within 3 days .
+
+ The next step is either a call or a meeting in our offices.
+
+ Feel free to contact me if you want a faster
+ feedback or if you don't get news from me
+ quickly enough.
+
+
+
+
+
+
@@ -685,17 +729,39 @@
-
+
-
-
-
About us
-
+
+
+
We are a team of passionate people whose goal is to improve everyone's life through disruptive products.
We build great products to solve your business problems.
+
+
+
+