diff options
| author | Jairo Llopis <yajo.sk8@gmail.com> | 2017-07-03 13:53:26 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-03-20 13:48:49 +0100 |
| commit | 6bd3bae04e030f4d69457e121d4137361d2b557a (patch) | |
| tree | 3cac528c44f36eee1b9dc8b7fdfd9b0e6478f6f6 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 407b85e329476699e9bda4348e6cb756bbd8a132 (diff) | |
[FIX] mass_mailing: domain translation
As Admin:
- Set up 2 languages for the installation, e.g. English and French
- Admin language is English, Demo language is French
- Create a `res.partner.category` named 'Test English'
- Assign the category to a newly created partner
- Create a French translation for 'Test English', e.g. 'Test Francais'
As Demo:
- Create a Mass Mailing
- Select a custom domain: ('category_id', '=', 'Test Francais') => it
should match one partner
- Save and validate
Now either:
- manually run the scheduled action "Process Mass Mailing Queue" as
Admin
- wait for the cron to process the mass mailing
No mail will be sent since the domain will be evaluated in the Admin
language, i.e. English. Indeed, the domain
`('category_id', '=', 'Test Francais')` does not match any record in
English.
The solution/workaround is to use the language of the last user who wrote
on the mass mailing.
Closes #20906, Closes #15467, Closes #15445
opw-778922
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
