[FIX] website_forum: use other attr than value to init select2
[odoo/odoo.git] / openerp-wsgi.py
index 48ffeaf..4a3f34d 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 # WSGI Handler sample configuration file.
 #
 # Change the appropriate settings below, in order to provide the parameters
@@ -11,7 +10,7 @@
 #
 # For gunicorn additional globals need to be defined in the Gunicorn section.
 # Then the following command should run:
-#   $ gunicorn openerp:application -c openerp-wsgi.py
+#   $ gunicorn openerp:service.wsgi_server.application -c openerp-wsgi.py
 
 import openerp
 
@@ -41,6 +40,8 @@ conf['addons_path'] = '../../addons/trunk,../../web/trunk/addons'
 #----------------------------------------------------------
 application = openerp.service.wsgi_server.application
 
+openerp.service.server.load_server_wide_modules()
+
 #----------------------------------------------------------
 # Gunicorn
 #----------------------------------------------------------