summaryrefslogtreecommitdiff
path: root/addons/stock_account
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/stock_account
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/stock_account')
-rw-r--r--addons/stock_account/__init__.py6
-rw-r--r--addons/stock_account/models/__init__.py10
-rw-r--r--addons/stock_account/report/__init__.py2
-rw-r--r--addons/stock_account/wizard/__init__.py4
4 files changed, 11 insertions, 11 deletions
diff --git a/addons/stock_account/__init__.py b/addons/stock_account/__init__.py
index d84fb182e8f..de3c67453a7 100644
--- a/addons/stock_account/__init__.py
+++ b/addons/stock_account/__init__.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-import models
-import report
-import wizard
+from . import models
+from . import report
+from . import wizard
diff --git a/addons/stock_account/models/__init__.py b/addons/stock_account/models/__init__.py
index 7564d3b99c9..21bf84ae9b2 100644
--- a/addons/stock_account/models/__init__.py
+++ b/addons/stock_account/models/__init__.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-import account_chart_template
-import account_invoice
-import product
-import stock
-import stock_config_settings
+from . import account_chart_template
+from . import account_invoice
+from . import product
+from . import stock
+from . import stock_config_settings
diff --git a/addons/stock_account/report/__init__.py b/addons/stock_account/report/__init__.py
index 6435c7f35ed..45c231e2efe 100644
--- a/addons/stock_account/report/__init__.py
+++ b/addons/stock_account/report/__init__.py
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-import stock_history
+from . import stock_history
diff --git a/addons/stock_account/wizard/__init__.py b/addons/stock_account/wizard/__init__.py
index 81b976cd812..bef8d18b84e 100644
--- a/addons/stock_account/wizard/__init__.py
+++ b/addons/stock_account/wizard/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-import stock_change_standard_price
-import wizard_valuation_history
+from . import stock_change_standard_price
+from . import wizard_valuation_history