diff --git a/src/oca/python/pyone/__init__.py b/src/oca/python/pyone/__init__.py index f93eba05c2..de23be20de 100644 --- a/src/oca/python/pyone/__init__.py +++ b/src/oca/python/pyone/__init__.py @@ -22,7 +22,7 @@ import requests import requests.utils from six import string_types -from aenum import IntEnum +from enum import IntEnum from pyone import bindings from .util import cast2one diff --git a/src/oca/python/pyone/util.py b/src/oca/python/pyone/util.py index 0249fb8099..10dd710926 100644 --- a/src/oca/python/pyone/util.py +++ b/src/oca/python/pyone/util.py @@ -18,7 +18,7 @@ import dict2xml import xmltodict from lxml.etree import tostring from collections import OrderedDict -from aenum import IntEnum +from enum import IntEnum # this is a bit hackish way to avoid escaping <,> characters # by dict2xml, as it would break which is injected before diff --git a/src/oca/python/setup.py b/src/oca/python/setup.py index 612c665be7..2b668c53b9 100644 --- a/src/oca/python/setup.py +++ b/src/oca/python/setup.py @@ -27,7 +27,7 @@ install_requires = [ 'dict2xml', 'xmltodict', 'six', - 'aenum', + 'enum', 'tblib', 'requests' ]