Skip to content
Snippets Groups Projects
Commit 6622ff6748b4 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:sparkles: set PYTHONDEVMODE when running in dev mode

parent 7384c6e3eda3
No related branches found
No related tags found
1 merge request!119✨ set PYTHONDEVMODE when running in dev mode
......@@ -9,7 +9,10 @@
odoorpc merged a fix for the python 3.10 compatibility, so update the requirements accordingly.
Set PYTHONDEVMODE when in dev mode. This will only be used with 3.7 python to display some additional messages.
See https://docs.python.org/3/library/devmode.html#devmode
16.5.1
------
Avoid trying to set db_host with an empty value.
......@@ -12,8 +15,7 @@
16.5.1
------
Avoid trying to set db_host with an empty value.
16.5.0
------
......@@ -17,7 +19,7 @@
16.5.0
------
Fix path used when running chown in the image, it was using /var/lib/odoo which is not where the data is present when running.
Fix path used when running chown in the image, it was using ``/var/lib/odoo`` which is not where the data is present when running.
When running tests, only install modules that are not going to be tested. Modules to be tested will be installed during the tests.
......
......@@ -888,6 +888,7 @@
arg.append(f"--dev={','.join(set(dev_opts))}")
if odoo_type in (ODOO_8,):
arg.append("--auto-reload")
options["environment"]["PYTHONDEVMODE"] = 1
project_version = "local"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment