94bba79a2e02b018abb6ac420dd4d8812d640553
Before this commit, changing the model on an existing xml-id may lead to strange results. create any record in xml, ie: id=my_xid, model=new_model => Odoo will create a new external_id, pointing to (new_model, id=1) change only the model in the xml, ie: id=my_xid, model=ir.cron => Odoo will use the id of the existing external_id with the new model and points now to (ir.cron, id=1) AND REPLACE the ir.cron id=1 (autovacuum_job) with the data of the xml. This commit simply prevent that by raising when trying to recycle the same xmlid for another model. An explicit upgrade script to remove the existing xmlid and corresponding records should be write. closes odoo/odoo#83422 Signed-off-by: Raphael Collet <rco@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%