diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-03-02 09:27:30 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-03-03 17:53:33 +0000 |
| commit | bb1fa25615203f35caac02c3935193c6e9c80d5b (patch) | |
| tree | da39f17cecc8e31852e25442bb0240f401e64a9e /addons/web/static/src | |
| parent | d490a331576c9c77e670542a906aab50151bdf16 (diff) | |
[FIX] mail: fix activity notification language
Issue
- Install CRM, Discuss
- Have 2 languages (e.g. french english)
- User 1 > French
- User 2 > English
- Create an activity as user 1 for user 2
- As user 2, check discuss > history
Notification received in french
Cause
mail_activity action_notify method uses
the context language which is the active
user language.
Solution
If user 2 has a language set, use this
language for translating body template (self)
and activity type (activity)
OPW-2205409
closes odoo/odoo#46800
X-original-commit: ccfe573b4eee82de92d130addb745f68b3fd3bd9
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
