Friday, June 26, 2026
1 change · 18.0
Resolved issues and error corrections
When a user signs in from a new device, the alert email will now be sent in that user’s chosen language. This fixes cases where the subject and email content could appear in the wrong language, improving clarity and consistency for users with 2FA enabled.
Original PR description
**Steps to reproduce:** - Enable 2FA - Change user language - Log in in another private window / device - Check the notification email of a login with another device - Email body/subject are not properly adapted to user language **Issue:** View manual rendering doesn't pass the user language. **Fix:** Add it to the context before `_render_template` and subject translation (reapply similar fix [1]). [1] https://github.com/odoo/odoo/commit/4d8d1736ca03a3d6b4e86cbc7463a79a284d1f3c opw-6042550