odoo/odoo#173212
Created by Bugfix, Andrzej Pietrusiak (pian)
Merged
at 27198df24d796dd054dad113578ea2732b2d8248
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:17.0-opw-3984176-infer_language_on_partner_creation-pian
- head
- fd6dc9db574525af5dc58f862b1a2f3e863da344
- merged
- 1 year ago by Fun HR, Bertrand Dossogne (bedo)
odoo/odoo | |
---|---|
17.0 | #173212 |
saas-17.1 | #175402 |
saas-17.2 | #175417 |
saas-17.4 | #175425 |
18.0 | |
saas-18.2 | |
saas-18.3 | |
saas-18.4 | |
master | #175558 |
[FIX] hr_recruitment: use context lang for partner creation
[FIX] hr_recruitment: use context lang for partner creation
When partner is created from Applicant's email_from inverse, in a situation when
job application is submitted, we should use context lang for him.
Useful when submiting application for multi-lang website and becuase
partner's lang is used to send appropriate translations of recruitment
templates.
[Reproduce Original Error]
- Install website,hr_recruitment
- Set couple of languages on the website (e.g., en_US as default, es_MX as the second language).
- In incognito, using non-default language, apply for some position (url: /es_MX/jobs )
- BUG: The email sent to the applicant is in the default language