318c937d9dc155525da72af606954e0beaef8666
Currently, the toggle to grid mode is not the same process for all snippets: some have both the option 'Layout Grid/Cols' and the ability to toggle on drag but other don't have the option, making it complicated/impossible to leave the grid mode. Also, the snippets for which the grid mode has been blocked don't have their move handle anymore, which prevents them to use the normal drag and drop (it was hidden because dragging them would toggle the grid mode). This commit uniformizes the grid mode for all snippets and adds the move handle back to the ones that cannot use this mode. It also improves the grid mode of the 'Items' and 'Carousel' snippets. More precisely: - All the snippets that are allowed to have the grid mode now have both the option "Layout Grid/Cols" and the ability to toggle on drag. - The snippets who cannot toggle the grid mode have the move handle back but it doesn't toggle on drag and they don't have the option. They use the "normal" drag and drop. - The drag and drop has been improved to allow normal columns to go inside the grids. Indeed, since the drag was previously blocked, this case could not occur but now that it is possible, it had to be taken into account. - The grid mode of the Items snippet has been improved by removing the "hardcoded" height that was breaking the grid. - The vertical dropzones of Carousel appearing when dragging inner content have been removed because they appeared in grid mode and were breaking it. It is also more logical because now that this snippet has a column option, vertical dropzones should only appear when dragging a column. task-2973198 X-original-commit: 84d684d8bdf43d3db11defd8174dee44775085c2 Part-of: odoo/odoo#102525
…
…
…
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%