7925804e3975a7b95e2cfbc73b44562a88cefa5d
Before this commit, unlink-all would sometimes fail to unlink more than one record. This seems to be the case in particular for x2many relations with isCausal true. Indeed, the delete from isCausal is itself calling unlink-all on the inverse relation (the same record that was being unlinked-all in the first place) which would pre-emptively remove it from the same Set that was used during the initial iteration. The solution is to make a copy of the Set before iterating it to ensure all records that were planned to be removed are actually removed. Candidate fix for task-2410314 and definitely necessary for data integrity in general. closes odoo/odoo#80913 X-original-commit: 0077b93fea6f8c39ee535f19426c3f95a0e97e9f Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@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%