summaryrefslogtreecommitdiff
path: root/addons/resource/__init__.py
diff options
context:
space:
mode:
authorxmo-odoo <xmo@odoo.com>2017-04-28 09:06:53 +0200
committerGitHub <noreply@github.com>2017-04-28 09:06:53 +0200
commitb4429c2a91889bf60b56e0c7909c844d357363f7 (patch)
tree1ae879a60a34454b4a93425f0ebe7d5ccd029c03 /addons/resource/__init__.py
parentc5579ef89e2a595893d0959bef6fddfdbfb6d697 (diff)
[FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
Diffstat (limited to 'addons/resource/__init__.py')
-rw-r--r--addons/resource/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/resource/__init__.py b/addons/resource/__init__.py
index ed17ad09e62..23a96e9133a 100644
--- a/addons/resource/__init__.py
+++ b/addons/resource/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-import models
-import tests.test_resource_model
+from . import models
+from .tests import test_resource_model