diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-12-03 12:59:19 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2016-09-01 10:41:04 +0200 |
| commit | b259eb69d2085a961c1ad00d8bba3cb8a92123c7 (patch) | |
| tree | fbb7d975b55f290746589f2e6b43ff5cd03f07b0 /addons/mail/data/mail_data.xml | |
| parent | ea4c4a22c41ec780818ec03ff6801791bda46065 (diff) | |
[CLEAN] mail, tools: factorize decode email tools
mail.mail and mail.thread have methods to decode headers. This commit
move them in mail tools. It is indeed simplier to have all email tools
in the same file. Moreover they have been renamed to avoid confusion
with standard library methods: decode and decode_header already exist.
* decode in mail_message is now decode_smtp_header
* decode_header in mail_thread is now decode_message_header
A method to data from references is also moved into tools. A regex was
already defined in tools. Now the method using it is already put in tools.
Mailgateway will now simply call this method.
Diffstat (limited to 'addons/mail/data/mail_data.xml')
0 files changed, 0 insertions, 0 deletions
