410c07283b0e8336a051b948ca9dd02bfcd1068c
Before this commit: 1. If a view A is being inherited by a view B and C and the view C is doing an xpath on B (but inherit A), then copying the tree to make it specific would crash. Indeed, when copying C, the view inheritance check (while doing the xml check) would break since C would be tested against the generic tree and not the new specific tree. 2. If a generic view being written with a website_id in the context had already a specific child, we would copy both its specific child and generic child for the same key instead of simply copying the specific one. This happens if we triggered previously a COW on a child view, then only that view had been made specific (and is still in the generic tree). Then, when cloning the parent, we need to copy and make specific all the hierarchy but ignore the generic elements if they already have a specific one. Now: 1. Fixed with adding the inherit_id on the copy vals 2. Fixed with filtering children_ids with filter_duplicate() before cloning the children tree opw-1908308 Closes #27914 closes odoo/odoo#28405
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%