From 57b8b9a0577fb5dd49b14fecef6943bddf9b9b8e Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Mon, 12 Jun 2017 23:13:20 -0700 Subject: [PATCH] [IMP] hr_recruitment: better email template --- .../data/hr_recruitment_data.xml | 369 ++++++++++-------- 1 file changed, 204 insertions(+), 165 deletions(-) diff --git a/addons/hr_recruitment/data/hr_recruitment_data.xml b/addons/hr_recruitment/data/hr_recruitment_data.xml index 6fefa74de19..d95eafe31e1 100644 --- a/addons/hr_recruitment/data/hr_recruitment_data.xml +++ b/addons/hr_recruitment/data/hr_recruitment_data.xml @@ -10,92 +10,96 @@ Applicant: Refuse - Application ${object.name | safe} refused + Your Job Application: ${object.job_id.name | safe} ${(not object.partner_id and object.email_from or '') | safe} ${object.partner_id.id or ''} ${object.partner_id.lang or ''} - - -
- - -
- - -
- -
- - + + +
- - -
-

Dear ${object.partner_name or 'applicant'},

-

- Thank your for giving us the opportunity to consider you for employment. -

-

- We have taken the time to review your background. -

-

- We truly appreciate your interest with our company; however, after careful consideration, you were not selected for the next steps of the interview process. We wish you the best of luck in your job hunt. -

-
- - - % if object.user_id: - - - % else: - + +
- ${object.user_id.name}
- % if object.user_id.job_id: - ${object.user_id.job_id}
- % endif - % if object.user_id.phone - TEL: ${object.user_id.phone}
- % endif -
Best Regards,
${object.company_id.name} HR Team
+ + + + -
+ + ${object.company_id.name} + + + % if 'website_url' in object.job_id and object.job_id.website_url: + Job Description % endif -
-
- - - -
- ${ object.company_id.name or '' }, - % if object.company_id.street: - ${ object.company_id.street }, + + + +

+ + +
+

+ Hi, +

+ Thank you for your interest in joining the + ${object.company_id.name} team. We wanted to + let you know that although your resume is competitive, + our hiring team reviewed your application and did not + select it for further consideration. +

+ Please note that recruiting is hard, and we can do + mistake. Do not hesitate to reply to this email if you + think we did a mistake, or if you want more information + about our decision. +

+ We will, however, keep your resume on record and get in + touch with you about future opportunities that may be a + better fit for your skills and experience. +

+

+ We wish you all the best in your job search and hope we + will have the chance to consider you for another role + in the future. +

+

+ Regards, +

+ +

--
+ % if object.user_id: + ${object.user_id.name}
+ Email: ${object.user_id.email or ''}
+ Phone: ${object.user_id.phone or ''} + % else: + ${object.company_id.name}
+ The HR Team % endif - % if object.company_id.street2: - ${ object.company_id.street2 }, - % endif - % if object.company_id.city: - ${ object.company_id.city }, - % endif - % if object.company_id.state_id.name: - ${ object.company_id.state_id.name }, - % endif - % if object.company_id.zip: - ${ object.company_id.zip }, - % endif - % if object.company_id.country_id.name: - ${ object.company_id.country_id.name } - % endif -

-
-
- + + + + + + +
+
Sent by ${object.company_id.name}
+ % if 'website_url' in object.job_id and object.job_id.website_url: +
+ Discover our others jobs. +
+ % endif +
+ + + ]]> Applicant: Interest - ${object.name | safe} got our interest + Your Application: ${object.job_id.name | safe} ${(not object.partner_id and object.email_from or '') | safe} ${object.partner_id.id or ''} ${object.partner_id.lang or ''} @@ -205,107 +209,142 @@ - Applicant: Accepted - Congratulations ${object.name | safe}! + Application Received + Job Application Confirmation: ${object.job_id.name | safe} ${(not object.partner_id and object.email_from or '') | safe} ${object.partner_id.id or ''} ${object.partner_id.lang or ''} - - -
- -
- - -
- -
- -
- - -
-

Congratulations!

-

You've applied for the ${object.job_id.name} position at ${object.company_id.name}. -

-
- % if object.user_id: - - - - - - - - - - -
-

Your contact:

-
- ${object.user_id.name}
- ${object.user_id.job_id or ''}
- TEL: ${object.user_id.phone or ''}
-
- % endif - - - -
-

WHAT IS THE NEXT STEP?

-

We usually answer applications within a week.

-

- Feel free to contact us if you want a faster feedback or if you don't get news from us quickly enough (just reply to this email). -

-
-

WANT TO LEARN MORE?

-
    -
  1. Founders' story
  2. -
  3. The Odoo Culture
  4. -
  5. Our managers
  6. -
-
- - -
-

See you soon,

-

${object.company_id.name} HR Department

- % if object.company_id.website - ${object.company_id.website} + + + + + + + + + +
+ + ${object.company_id.name} + + + % if 'website_url' in object.job_id and object.job_id.website_url: + Job Description % endif -
+ + + - + % endif + +
+ +

What is the next step?

+

We usually answer applications within 3 days.

+

+ Feel free to contact us if you want a faster + feedback or if you don't get news from us + quickly enough (just reply to this email). +

+
+ +

Want to learn more?

+
    +
  1. Founders' story
  2. +
  3. The Odoo Culture
  4. +
  5. About us
  6. +
+ +
+ + % set location = '' + % if object.job_id.address_id.name: +

${object.job_id.address_id.name}

+ % endif + % if object.job_id.address_id.street: +

${object.job_id.address_id.street}

+ % set location = object.job_id.address_id.street + % endif + % if object.job_id.address_id.street2: +

${object.job_id.address_id.street2}

+ % set location = '%s, %s' % (location, object.job_id.address_id.street2) + % endif +

+ % if object.job_id.address_id.city: + ${object.job_id.address_id.city}, + % set location = '%s, %s' % (location, object.job_id.address_id.city) + % endif + % if object.job_id.address_id.state_id.name: + ${object.job_id.address_id.state_id.name}, + % set location = '%s, %s' % (location, object.job_id.address_id.state_id.name) + % endif + % if object.job_id.address_id.zip: + ${object.job_id.address_id.zip} + % set location = '%s, %s' % (location, object.job_id.address_id.zip) + % endif +

+ % if object.job_id.address_id.country_id.name: +

${object.job_id.address_id.country_id.name}

+ % set location = '%s, %s' % (location, object.job_id.address_id.country_id.name) + % endif + + +
+

+ Hi, +

+ We confirm we successfully received your application to the job + + "${object.job_id.name}" + at ${object.company_id.name}. +

+

+ We will come back to you shortly. +

+ +
+ % if object.user_id: +

Your Contact:

+ + + +
+ Avatar + + ${object.user_id.name}
+ Email: ${object.user_id.email or ''}
+ Phone: ${object.user_id.phone or ''} +
-
- - + + % if object.job_id.address_id: +
+ + + +
+ % endif +
- ${ object.company_id.name or '' }, - % if object.company_id.street: - ${ object.company_id.street }, - % endif - % if object.company_id.street2: - ${ object.company_id.street2 }, - % endif - % if object.company_id.city: - ${ object.company_id.city }, - % endif - % if object.company_id.state_id.name: - ${ object.company_id.state_id.name }, - % endif - % if object.company_id.zip: - ${ object.company_id.zip }, - % endif - % if object.company_id.country_id.name: - ${ object.company_id.country_id.name } - % endif -
+ + + + +
+
Sent by ${object.company_id.name}
+ % if 'website_url' in object.job_id and object.job_id.website_url: +
+ Discover all our jobs. +
+ % endif +
-
-
- + + + + ]]>