We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e13b04f + 76c36a7 commit 68ab355Copy full SHA for 68ab355
pytest_odoo.py
@@ -96,6 +96,9 @@ def pytest_cmdline_main(config):
96
# Restore the default one.
97
signal.signal(signal.SIGINT, signal.default_int_handler)
98
99
+ if odoo.release.version_info >= (18,):
100
+ odoo.modules.module.current_test = True
101
+
102
if odoo.release.version_info < (15,):
103
# Refactor in Odoo 15, not needed anymore
104
with odoo.api.Environment.manage():
0 commit comments