Skip to content
Snippets Groups Projects
Commit e3aaaef4 authored by Rahul Prajapati's avatar Rahul Prajapati
Browse files

[FIX] account_edi: file validation while uploading


This issue was caught in sentry.
When we try to create or update an invoice by uploading an `.xlsx` attachment,
it raises an Error as it will go to convert it into XML tree because the
concerned LOC will check `xml` in `mimetype` of attachment which is
`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`.

sentry-3929855076

closes odoo/odoo#115653

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent da125eac
No related branches found
No related tags found
No related merge requests found
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