Daily updates from Odoo
Thursday, November 2, 2017
1 change · master
Resolved issues and error corrections
This fix prevents Odoo from crashing when it tries to identify a document type from content that is not actually a file path. It improves stability for documents containing non-ASCII characters, reducing unexpected errors during rendering.
Original PR description
`document` variable may not be a filepath; in this case, it can contain non-ascii characters that crash os.path.exists. We improve the heuristic in order to avoid this.