Rename file to attend TODO comment

This commit is contained in:
Akim Juillerat 2019-10-10 15:59:42 +02:00 committed by Maxime Franco
parent f5a1d4e782
commit 288ef1ced9
3 changed files with 3 additions and 8 deletions

View File

@ -18,10 +18,5 @@
#
##############################################################################
from . import models
# TODO when migrating to 12, fix the import of serv_config by renaming the
# file?
# Add an alias to access to the 'serv_config' module as it is shadowed
# in the following line by an import of a variable with the same name.
# We can't change the import of serv_config for backward compatibility.
from . import serv_config as server_env
from .serv_config import serv_config, setboolean
from . import server_env
from .server_env import serv_config, setboolean

View File

@ -8,7 +8,7 @@ from functools import partialmethod
from lxml import etree
from odoo import api, fields, models
from ..serv_config import serv_config
from ..server_env import serv_config
_logger = logging.getLogger(__name__)