Friday, January 16, 2026
1 change · 19.0
Resolved issues and error corrections
This update resolves a critical issue where Odoo installations didn't consistently create foreign key relationships in the database. This resulted in 'Record missing' errors after data changes, potentially leading to data inconsistencies. Merging this fix guarantees that Odoo installs with properly configured database relationships, ensuring data integrity and preventing future errors.
Original PR description
---- Description of the issue/feature this PR addresses: See related OPW Ticket [opw-5495025](https://www.odoo.com/my/tasks/5495025) Current behavior before PR: Odoo seems to install correctly, and works normally. However the database consistency is not ensured. Foreign Keys are not created. User receives `Record missing` errors after some time, when there was a Contact deleted, for example. Issue is dangerous, because it can be latent and be undetected for weeks or months. Desired behavior after PR is merged: Odoo installs *with* the Foreign Keys, and works normally. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr --- Ticket opw-5495025