From db83ba8a5fc303f53a6e3074da5e1a7f8169e486 Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Mon, 19 Sep 2022 07:54:05 +0000 Subject: [PATCH] [IMP] website_hr_recruitment: use t-field in website template Use a `t-field` on the job apply template to make it editable through the editor. closes odoo/odoo#100468 Signed-off-by: Kevin Baptiste --- .../website_hr_recruitment/models/hr_job.py | 20 +++++++------------ .../views/hr_job_views.xml | 2 +- .../website_hr_recruitment_templates.xml | 2 +- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/addons/website_hr_recruitment/models/hr_job.py b/addons/website_hr_recruitment/models/hr_job.py index fb9d02ae709..902942edd90 100644 --- a/addons/website_hr_recruitment/models/hr_job.py +++ b/addons/website_hr_recruitment/models/hr_job.py @@ -10,17 +10,11 @@ class Job(models.Model): job_details = fields.Html('Process Details', help="Complementary information that will appear on the job submission page", default=""" -
- Time to Answer -
2 open days
-
-
- Process -
1 Phone Call
-
1 Onsite Interview
-
-
- Days to get an Offer -
4 Days after Interview
-
+ Time to Answer +
2 open days
+ Process +
1 Phone Call
+
1 Onsite Interview
+ Days to get an Offer +
4 Days after Interview
""") diff --git a/addons/website_hr_recruitment/views/hr_job_views.xml b/addons/website_hr_recruitment/views/hr_job_views.xml index f430962bbc8..5ec0ed932a7 100644 --- a/addons/website_hr_recruitment/views/hr_job_views.xml +++ b/addons/website_hr_recruitment/views/hr_job_views.xml @@ -46,7 +46,7 @@
- +