e13743ff2e3564e7e30c5a6088f5c6608847b224
This commit mitigates an issue with shape elements sometimes having tiny spacing on their top or bottom edge. This issue is mainly on Chrome when the user has changed the page zoom. When the page is zoomed the elements can have a width value with a decimal part. Because of it, the size of the SVG background images are not correctly rounded compared to their container and therefore leaves a visible space. Steps to reproduce the bug: - On Chrome, add several shapes on a website page. - Change the zoom of the page and change the window width. - At some points, the gap will appear. The least bad solution we found to fix this is to ensure that the width of the shape elements is always as close to an integer as possible. Reminder: several commits had attempted to fix this before ([1], [2], [3], [4]). But that wasn't enough to stop it happening. Some shapes still need to be fixed although that will likely be done in future versions. [1]: https://github.com/odoo/odoo/commit/c0f62593a4da37e8404dddc0a5762879a5ebbf7f [2]: https://github.com/odoo/odoo/commit/ac82407b259eab929486bf0a333a48bc507efa60 [3]: https://github.com/odoo/odoo/commit/42b3ad10e0b32b7fc72f801e2c67d6baf938c566 [4]: https://github.com/odoo/odoo/commit/e386f318f5cff50901dba3db8a2587911ba02a6e task-2824607 opw-3069213 opw-3057533 X-original-commit: 623db525e18931a4dd5794da78be840afc34991a Part-of: odoo/odoo#108228
…
…
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%