Migrate addons to 10.0

This commit is contained in:
Guewen Baconnier
2016-12-21 21:29:09 +01:00
parent 022f9003e8
commit 8e4b461c75
17 changed files with 35 additions and 37 deletions
+4 -4
View File
@@ -7,9 +7,9 @@ import os
from distutils.util import strtobool
import openerp
from openerp import http
from openerp.tools.func import lazy_property
import odoo
from odoo import http
from odoo.tools.func import lazy_property
from .session import RedisSessionStore
@@ -65,4 +65,4 @@ if is_true(os.environ.get('ODOO_SESSION_REDIS')):
http.Root.session_store = session_store
http.session_gc = session_gc
# clean the existing sessions on the file system
purge_fs_sessions(openerp.tools.config.session_dir)
purge_fs_sessions(odoo.tools.config.session_dir)