25294474283b89b9e238b3fdb43820f066d0c6dd
In a previous fix [0], the call to exif_transpose was kept to allow rotation of images format different than `JPEG`. After a small test, it appeared that the call would crash if the image in another format had the same `LensInfo` tag. So it's safer to not call this method at all. With this commit, the rotation tag is retrieved disregarding the file format by using the `getexif` method if available, falling back to the private method for Pillow < 6 support. As a bonus, a test is also added with a small embedded `JPEG` image, crafted with an `Orientation` exif tag and, for reference, the `LensInfo`tag that caused so much trouble. The fix referenced in [0] was not forward-ported as it was only moving the code the is completely removed in the present. [0] b83c48d5c48954193 closes odoo/odoo#65823 X-original-commit: bfd3f857b44f31f8077182d10cab869f42076464 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%