data-dir setting is ignored

Bug #1314066 reported by digitalsatori(Shine IT)
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Medium
Unassigned

Bug Description

the "data-dir" setting set on command line or in configuration file will be ignored, the value in my-default is used instead.

The reason is that http module is loaded when import openerp, and the session dir will be calculated even before the command line options and configuration file have been processed

a simple solution is to remove the 'import http' from openerp/__init__.py

Related branches

Changed in openobject-server:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.