7442fb716133dff84a0f17751a9132c8c90995a0
Before this commit and since commit [1] which introduced `SUPPORTED_IMAGE_EXTENSIONS` on top of the existing `SUPPORTED_IMAGE_MIMETYPES` there would be 2 lists which were holding related values which a strong link between the two: one was holding the image extensions while the other was holding the images mimetypes. It was a bad idea as it was not robust and no relation between the two. It's an issue as some WIP code was then trying to retrieve the extension based on a given mimetype which was not possible to do in a reliable way: ```py ext = SUPPORTED_IMAGE_EXTENSIONS[SUPPORTED_IMAGE_MIMETYPES.index(mimetype)] ``` The chance is then taken to merge those 2 lists in a single dict that will strengthen the link between the mimetype and its related extension. [1]: https://github.com/odoo/odoo/commit/9dab9ffce297dcfc89f0ec7efc4c8f8b43104220 Part-of: odoo/odoo#98801
…
…
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%