summaryrefslogtreecommitdiff
path: root/setup/odoo-wsgi.example.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-06-05 14:46:24 +0200
committerChristophe Simonis <chs@odoo.com>2018-06-05 14:46:24 +0200
commit279d92869391ac9f860d2070a7b92693fffee687 (patch)
tree8c803019d14d4eabca3b9c679a08a8b213a4488e /setup/odoo-wsgi.example.py
parent83aa86d658cf09517c7e6b652b6c73081ccf8cd8 (diff)
[FIX] core: always load `base` and `web` as server wide modules
Since 285ead28e31ca54e9629d5153d0d03d7b4951535, `base` should be loaded as a server wide module to enable rpc routes.
Diffstat (limited to 'setup/odoo-wsgi.example.py')
-rw-r--r--setup/odoo-wsgi.example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/odoo-wsgi.example.py b/setup/odoo-wsgi.example.py
index 7bc9c7f95e5..58b0d12653f 100644
--- a/setup/odoo-wsgi.example.py
+++ b/setup/odoo-wsgi.example.py
@@ -20,7 +20,7 @@ import odoo
odoo.multi_process = True # Nah!
# Equivalent of --load command-line option
-odoo.conf.server_wide_modules = ['web']
+odoo.conf.server_wide_modules = ['base', 'web']
conf = odoo.tools.config
# Path to the OpenERP Addons repository (comma-separated for