3e76664d49e1c5cee48da6c9af1e6111e483b0f4
When changing the number of columns of a snippet, the history was recorded too many times and at wrong moments, resulting in a mess of undos to trigger before restoring the original column state. The issue was due a combination of dead code and the fact that `_updateColumnCount` triggered `remove_snippet` for each of its columns while `remove_snippet` in turn triggered a history step at every execution. This fixes it by removing the dead code, replacing it where necessary with a call to the editor's `historyStep` method, and adding an option to `remove_snippet` so its triggering of a history step can be bypassed. closes odoo/odoo#70932 X-original-commit: 877e5c807087afed880aeba3eab79def3a7b583c Signed-off-by: David Monjoie (dmo) <dmo@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%