Friday, June 19, 2026
2 changes · saas-18.4
Resolved issues and error corrections
This fixes an internal testing issue where temporary test data could carry over into later tests. It helps keep web module tests reliable and reduces false failures during development.
Original PR description
WIP a09d823 ensures cleanup and restoration of all registries after each test, but only for sub-registries that existed when `beforeEach` recorded the state. A sub-registry created during a test (via `registry.category(...)`) was never recorded, so `restoreRegistry` skipped it and its entries leaked into subsequent tests, causing a DuplicatedKeyError on duplicate `add` calls. After each test we now delete any sub-registry that did not exist before the test started, so each test gets a clean baseline. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix removes a repeated account entry from the Danish chart of accounts migration list. It helps keep accounting setup data cleaner and avoids unnecessary duplicate processing during migrations.
Original PR description
In the list 'dk_coa_7630 ', the account has been used in the list twice. Removing the duplication from the list. [Reference](https://github.com/odoo/odoo/blob/17.0/addons/l10n_dk/migrations/1.4/end-migrate.py#L14) Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#270573