Skip to content
Snippets Groups Projects
Commit 7cce75bc authored by Florent de Labarre's avatar Florent de Labarre Committed by Thibault Delavallée
Browse files

[FIX] mail: handle parsing of void body in incoming emails


When body does not contain any tag or content parsing currently fails
with an ``lxml.etree.ParserError``. To avoid that we can improve condition
about void body: stripping void characters allows to avoid that traceback.

Task-2641572
PR odoo#76159
Closes odoo#75625

Part-of: odoo/odoo#76159
Co-authored-by: default avatarThibault Delavallee <tde@odoo.com>
parent c9f12f61
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment