Sunday, July 18, 2021
1 change · master
Miscellaneous changes
Steps to reproduce: - Install "Sales" module (for test purpose) - Active `External Email Servers` email feature and set an alias - Go to any Sale Team, and set an Email Alias - Send an email (from outside Odoo) to the sale team email alias - Write the body text in hebrew - !must ensure that the mail is encoded in iso-8859-8-i. - Go to Settings -> Technical -> Messages and open the receveid mail Issue: Hebrew character are replaced by `�`. Cause: Python
Original PR description
Steps to reproduce:
- Install "Sales" module (for test purpose)
- Active `External Email Servers` email feature and set an alias
- Go to any Sale Team, and set an Email Alias
- Send an email (from outside Odoo) to the sale team email alias
- Write the body text in hebrew
- !must ensure that the mail is encoded in iso-8859-8-i.
- Go to Settings -> Technical -> Messages and open the receveid mail
Issue:
Hebrew character are replaced by `�`.
Cause:
Python does not have -e and -i codecs.
More info here: https://bugs.python.org/issue18624
Solution:
Create an alias for iso-8859-8-i == iso-8859-8.
opw-2482579
Forward-Port-Of: odoo/odoo#73893