5fba47e860866e2213d6610b199883fb021a717f
This event listener was added for the `historyStep` event of the editor in [1] as a proxy for the `input` event of the editable node. This was wrong because the `historyStep` event is also triggered at other times than when the user makes an input. In particular, it is called when switching records. In such case, the new value from props can be '' which is not suitable for edition, so it is replaced with '<p><br></p>'. But since that happens in a function that is going to call `_historyStep` and the editing value was just changed to something else that the value received in props, the listener from [1] would make it dirty and thus trigger a re-render etc. This commit fixes the issue by modifying the listener in such a way that it listens to the proper event it was intended to target. [1]: f56e3bca2456f04616982a9a0e77b8d4c5a0abff X-original-commit: 384ff11f06ba86360f1993cf0c8a17c2dbaa11de Part-of: odoo/odoo#113811
…
…
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%