Use relative import in __init__.py and complte module path for others import

This commit is contained in:
Laurent Mignon (Acsone)
2014-02-19 12:43:35 +01:00
parent ce0f591cff
commit 467a86eec4
2 changed files with 2 additions and 2 deletions

View File

@@ -18,4 +18,4 @@
#
##############################################################################
import product
from . import product

View File

@@ -19,7 +19,7 @@
#
##############################################################################
import decimal_precision as dp
from openerp.addons import decimal_precision as dp
from openerp.osv import orm, fields