Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
6622ff6748b4
Commit
6622ff6748b4
authored
2 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
set PYTHONDEVMODE when running in dev mode
parent
7384c6e3eda3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!119
✨ set PYTHONDEVMODE when running in dev mode
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS.rst
+4
-2
4 additions, 2 deletions
NEWS.rst
odoo_scripts/docker_dev_start.py
+1
-0
1 addition, 0 deletions
odoo_scripts/docker_dev_start.py
with
5 additions
and
2 deletions
NEWS.rst
+
4
−
2
View file @
6622ff67
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
odoo_scripts/docker_dev_start.py
+
1
−
0
View file @
6622ff67
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment