Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] account_edi: enable to parse XML facturx in mail
Issue: When receiving a mail with a facturx XML file as attachment, the datas in the XML files are not parsed. Cause: For security reason, if a mail attachment is a XML file, it will be saved as plain text and therefore not be parsed. Solution: If attachment mimetype is `plain/text` and content starts with `<?xml`, consider attachment as XML for the parsing. opw-2655445 closes odoo#91570 X-original-commit: c402815 Signed-off-by: William André (wan) <wan@odoo.com>
- Loading branch information