summaryrefslogtreecommitdiff
path: root/addons/mrp_subcontracting/models
diff options
context:
space:
mode:
authorryv-odoo <ryv@odoo.com>2019-10-11 10:03:38 +0000
committerryv-odoo <ryv@odoo.com>2019-10-11 11:00:39 +0000
commitc8cbf8cc0e4680852bc64fbb77f31be3bb2a2dbd (patch)
tree210658f97073bdd8273814f2352102bbe283d038 /addons/mrp_subcontracting/models
parent9a07523e7b4c190f5c3131137227e806cc4d7fb7 (diff)
[FIX] base, mail: fix multipart alternative order
After the refactor of mail sending with the newest python API (18299d7e5051cdad29854bc7280db5002a209500), the order of multipart/alternative was wrong for email. Indeed, in the MIME protocol [1], for The Multipart/alternative subtype the order is significant: "In general, user agents that compose multipart/alternative entities should place the body parts in increasing order of preference, that is, with the preferred format last". This bug caused some issues with mail marketing (see related task) with Gmail web client (see the plaintext instead of html mail). The fix is to inverse the order of adding alternative in the mail content. [1] https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html TASK_ID : 2084989 closes odoo/odoo#38490 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mrp_subcontracting/models')
0 files changed, 0 insertions, 0 deletions