Thursday, July 3, 2025
3 changes · master
Features or functions removed from Odoo
This change removes an outdated delay setting from automated tour startup code because it is now only relevant in debug mode. It keeps the codebase cleaner and adds a warning to help developers avoid using the setting incorrectly in the future.
Original PR description
In this commit, we remove the step_delay from the start_tour because since commit 968703b8f6e189aa1, step_delay is only used in debug mode. To avoid adding it to the codebase, we also add a warning. 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
This change removes an outdated internal access-rule hook and relies on the standard search process to apply permissions consistently. This helps ensure dashboards, sales, projects, accounting, and website sales use more reliable access checks without changing day-to-day workflows.
Original PR description
The rules are applied when using `_search`. Overwriting `_apply_ir_rules` has no effect. Moreover, since `_search` is used directly in the ORM, the functions give more correct behaviour since `_search` can be overwritten and checks also the permissions on the model. task-4067945 odoo/enterprise#76183 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Test tour delay settings that only apply in debug mode were removed from several modules. This keeps the codebase cleaner and helps prevent future additions of settings that do not affect normal product behavior.
Original PR description
In this commit, we remove the step_delay from the start_tour because since commit 968703b8f6e189aa1, step_delay is only used in debug mode. To avoid adding it to the codebase, we also add a warning.