c5a10d2cd75de58d5c2823124d9ab3ac6afecf34
Before this commit, when one was clicking/focusing an element which was receiving the sizing option(s), it would directly trigger some onchanges internal events, even if no changes were done yet. One of those events was `change_column_size` directly called on the steps snippets options. That event was then listened by the steps options and was making the connector to be reloaded. While it was useless as there were no real changes yet (just focused), it was also leading to a traceback if one was clicking on an outdated steps snippet, for instance after a migration from v15. In saas-15.1, the connectors were improved with [1] and became svg elements instead of pseudo elements. The internal method reloading the connector thus can't find those selectors on an outdated snippet. This commit now splits the code in 2, to extract the firing of the onchange events when there is actually some changes. This will allow to click on outdated steps snippet without having a traceback as the code won't try to reload the connectors anymore. That outdated block will then be marked as such in the right panel and the user will be able to delete it to recreate it if needed. Remember than without this commit, since there would be a traceback, the whole current page edition / changes would simply be lost. [1]: https://github.com/odoo/odoo/commit/aba31e9f2d8a44ce1586403f2a621a6caeed57b4 opw-2895569 closes odoo/odoo#99014 X-original-commit: 66213cfb33f4545d4c70af1a72c3db47ca687e92 Signed-off-by: Romain Derie (rde) <rde@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%