Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] core: tools.config.is_testing flag #1009

Closed

Conversation

kmagusiak
Copy link

Flag to check whether Odoo was started in test mode.

task-4270485
odoo/odoo#186924

@robodoo
Copy link
Collaborator

robodoo commented Nov 12, 2024

Pull request status dashboard

@kmagusiak kmagusiak force-pushed the master-testing-flag-config-krma branch 3 times, most recently from 3b21132 to bed9211 Compare November 25, 2024 09:46
@kmagusiak kmagusiak force-pushed the master-testing-flag-config-krma branch from bed9211 to 069a826 Compare December 9, 2024 11:14
@kmagusiak kmagusiak force-pushed the master-testing-flag-config-krma branch 2 times, most recently from 43952b4 to c0ea9d4 Compare December 26, 2024 08:16
@kmagusiak kmagusiak force-pushed the master-testing-flag-config-krma branch from c0ea9d4 to 36733ed Compare January 7, 2025 16:32
Flag to check whether Odoo was started in test mode.

task-4270485
@kmagusiak kmagusiak force-pushed the master-testing-flag-config-krma branch from 36733ed to 314fe7a Compare January 29, 2025 08:50
@Xavier-Do
Copy link
Contributor

@robodoo r+

@robodoo
Copy link
Collaborator

robodoo commented Jan 31, 2025

@kmagusiak @Xavier-Do linked pull request(s) odoo/enterprise#73654, odoo/odoo#186924 not ready. Linked PRs are not staged until all of them are ready.

robodoo pushed a commit to odoo/odoo that referenced this pull request Jan 31, 2025
A flag on the configuration that indicates whether Odoo was started in a
test mode, we need only to check 'test_enable' since #190080.
Moreover, it is often enough to check that we are in the test mode. Use
`odoo.modules.module.current_test` whenever possible.

task-4270485

closes #186924

Related: odoo/enterprise#73654
Related: odoo/design-themes#1009
Signed-off-by: Xavier Dollé (xdo) <[email protected]>
robodoo pushed a commit that referenced this pull request Jan 31, 2025
Flag to check whether Odoo was started in test mode.

task-4270485

closes #1009

Related: odoo/odoo#186924
Related: odoo/enterprise#73654
Signed-off-by: Xavier Dollé (xdo) <[email protected]>
@robodoo robodoo closed this Jan 31, 2025
@robodoo robodoo added the 18.2 label Jan 31, 2025
@kmagusiak kmagusiak deleted the master-testing-flag-config-krma branch January 31, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants