From 7d7ed7940ffc5411505fb89ddbf3e33db1cba597 Mon Sep 17 00:00:00 2001 From: xmo-odoo Date: Fri, 28 Apr 2017 09:07:28 +0200 Subject: [PATCH] [FIX] implicitly relative imports --- __init__.py | 2 +- models/__init__.py | 6 +++--- tests/__init__.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/__init__.py b/__init__.py index 81fc81d29c9..dc5e6b693d1 100644 --- a/__init__.py +++ b/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -import models +from . import models diff --git a/models/__init__.py b/models/__init__.py index 0d67cd44d37..9c652c3aac3 100644 --- a/models/__init__.py +++ b/models/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -import sale_order -import sale_coupon_program -import sale_coupon_reward \ No newline at end of file +from . import sale_order +from . import sale_coupon_program +from . import sale_coupon_reward \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py index 3a17aa142c0..0f8b647a735 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -import test_free_shipping_reward \ No newline at end of file +from . import test_free_shipping_reward \ No newline at end of file