Turns out almost no user of odoo.tools.osutil actually imports
it. Following odoo/odoo#39573
(355e360973) removing what were
apparently the only two users of the submodule properly importing it,
other calls to osutil features now blow up, which went unnoticed as
these calls are lazy (so don't prevent starting the server) and only
happen for very specific operations.
The smallest change there is to simply re-enable the old behaviour by
explicitly importing osutil from tools.__init__.
closes odoo/odoo#39705
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
22 lines
517 B
Python
22 lines
517 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import pycompat
|
|
from . import win32
|
|
from . import appdirs
|
|
from . import osutil
|
|
from . import pdf
|
|
from .config import config
|
|
from .misc import *
|
|
from .translate import *
|
|
from .image import *
|
|
from .sql import *
|
|
from .float_utils import *
|
|
from .mail import *
|
|
from .func import *
|
|
from .debugger import *
|
|
from .xml_utils import *
|
|
from .date_utils import *
|
|
from .convert import *
|
|
from .template_inheritance import *
|