c802efd56fdd5e26013f941ce06ff340b57818dc
Steps to reproduce the bug: - Go on a product image and replace it by a ".jpeg" (note that the mimetype of the image is "image/webp" since [1]). - Change the format of the image and put it to "Original". The mimetype of the image is now "image/jpeg". - Add a shape on the image. - Change the format of the image. -> None is displayed as its format. Let's first recall that adding a shape on an image transforms its mimetype into an "image/svg+xml" and that the `originalMimetype` attribute is used to record its original mimetype. This is needed in order to correctly reset the image mimetype when removing its shape. The problem here was that the `originalMimetype` attribute was not used correctly and that the mimetype of an image with a shape was not correctly updated at format change. [1]: https://github.com/odoo/odoo/commit/0449fe85cb0e1d639a4e1aeba26e90906f79254d task-3431015 closes odoo/odoo#129680 X-original-commit: 40811e72c50faf146ccdf9f26c332db9ebc69fa9 Signed-off-by: Benoit Socias (bso) <bso@odoo.com> Signed-off-by: Colin Louis (loco) <loco@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%