0761b4299e764ee88db97340036cc219b0ac2566
Before this commit, the onAdd/onDelete hooks of fields and the deletion of record was performed immediately. The main drawback was that `this` and the record being added or deleted from a relational field was in an intermediate state. For example, if the record to be added had some computed fields, the code executed by the `onAdd` hook was reading the field before it was computed. This commit fixes the issue by moving the execution of field hooks `onAdd` and `onDelete` at the end of the update cycle on records, after the compute methods. Part-of: odoo/odoo#144999
…
…
…
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%