diff options
| author | Martin Trigaux <mat@odoo.com> | 2021-02-18 10:51:32 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2021-02-18 10:51:32 +0000 |
| commit | 6001e7584c28f8d028c782692caa644015c33e9c (patch) | |
| tree | 6e2b8f7aa69aa9fcf949d39db8b0c12454a38782 /addons/web_editor/static/src | |
| parent | 6c2947ea9e13566e7ce8d3653e5a7b67a07f6382 (diff) | |
[FIX] mail: translate report name field
When genrating an attachment in a mail message (e.g. the pdf attached
to a confirmation email), the filename was not translated into the
language of the recipient (unlink the email content).
The variable `template` has the contact language in the context while
`self` contains the language of the user executing the action.
Fixes odoo/odoo#66420
closes odoo/odoo#66441
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
