c1e570afd0e5bfa851e4947b5103197bd7895695
When drag and dropping a grid item and then undoing the operation, it is not undone correctly, causing the grid items to be broken. This happens because since `observerUnactive` is called at the start of the drag, the style (like the `grid-area`) and the grid classes changes are not recorded and therefore, undoing does not restore them. This issue was previously fixed in [1] by removing the call to `observerUnactive` but it should not have been done and this call was restored in [2]. This commit solves this issue by activating the observer for the changes that have to be recorded when drag and dropping in grid mode, in order to undo them properly afterwards. [1]: https://github.com/odoo/odoo/commit/cc406afcea7bf5846233a9f97a4a8ac5f618f3ec [2]: https://github.com/odoo/odoo/pull/106029 task-3074139 closes odoo/odoo#113384 X-original-commit: 1dfb127f70832aa9e9022ac337af343b7dc17729 Signed-off-by: Outagant Mehdi (mou) <mou@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%