d72e471e5f367fde8744f3411b2db644d468c50c
Before this commit, when pasting or dropping an image, the insertion of the image element to the DOM and the addition of the "o_b64_image_to_save" class to it were recorded in two separate history steps. This commit makes sure they are both recorded in a single step. Additionally, the dataset was removed from the image element by the (unnecessary) call to _prepareClipboardData. This resulted in losing the file name information, which is useful when converting the image into an attachment. Before this commit, the "width: 100%" addition to the image's style attribute had no effect, as it was later removed by the call to _prepareClipboardData. In fact, the class "img-fluid" sets "max-width" to 100% instead, which is offers desirable behaviour. task-3497880 closes odoo/odoo#134832 Signed-off-by: David Monjoie (dmo) <dmo@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%