Soukéina Bojabza d7ac2819b2 [FIX] web_editor: add back observerUnactive in _onDragAndDropStart
In commit [1], the call to `observerUnactive` at the start of the
`_onDragAndDropStart` function has been removed because with it,
undoing a drag and drop in grid mode did not work properly (since the
style (like the `grid-area`) and the grid classes changes were not
observed, the grid items were broken).
However, this call was originally added in [2] (and modified in [3]) to
avoid recording mutations triggered by the `we-hook` changes, which
would create unnecessary views in the backend.
Therefore, this call should not have been removed.

This commit adds this call back.

[1]: https://github.com/odoo/odoo/commit/cc406afcea7bf5846233a9f97a4a8ac5f618f3ec
[2]: https://github.com/odoo/odoo/commit/1b80fe9b56acea09a6784691561df65fe6349f50
[3]: https://github.com/odoo/odoo/commit/f76ba944c516a0377cec324f564df604e52c2ffd

task-3074139

closes odoo/odoo#113388

X-original-commit: 76f9e3fb8c4b2d55b33feefc89b2c429dc9637ed
Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2023-02-22 17:48:55 +01:00
…
…
…
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%