c1c20dcd089272fd7c7f13c38b9e674eab1f444e
Since [1] the "Images Add/Remove All" buttons are on top of the background options in order to appear as the first option for the "Image Wall" snippet. This makes the JS related to the handling of the options of that snippet created twice: once for the buttons above and once for the options below. Because of this, events are registered by both instances and they both get notified on option update. Therefore, when an image is moved, it is moved twice instead of once. This commit differentiates both instances, and makes the one that handles the "Add" and "Remove All" buttons be the only one that works on the images. In stable the differentiation is done with conditional statements. In master the instances should be of distinct classes. Steps to reproduce: - Drop an "Images Wall" block. - Switch the "Mode" option to "Grid" instead of "Masonry". - Select the wine glass image in the third column. - Click on "Move to previous". => The wine glass image ended up in the first column because it was moved twice. This commit also fixes a typo in the `reoder_items` name introduced by [2]. [1]: https://github.com/odoo/odoo/commit/b6494fcf284edcddaa36b5fcfd407a6d7186fbd7 [2]: https://github.com/odoo/odoo/commit/e8713dc078b5c1799917f238a4c32b4289aceb8a task-2990053 X-original-commit: f8724b55162b2550734dbe6e0454c406d6e4241c Part-of: odoo/odoo#125758
…
…
…
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%