openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #03355
lp:~openerp-community/stock-logistic-flows/improve-relative-imports into lp:stock-logistic-flows
Niels Huylebroeck has proposed merging lp:~openerp-community/stock-logistic-flows/improve-relative-imports into lp:stock-logistic-flows.
Requested reviews:
Stock and Logistic Core Editors (stock-logistic-core-editors)
For more details, see:
https://code.launchpad.net/~openerp-community/stock-logistic-flows/improve-relative-imports/+merge/188285
Minor cleaning of the imports
--
https://code.launchpad.net/~openerp-community/stock-logistic-flows/improve-relative-imports/+merge/188285
Your team OpenERP Community is subscribed to branch lp:~openerp-community/stock-logistic-flows/improve-relative-imports.
=== modified file 'picking_dispatch/picking_dispatch.py'
--- picking_dispatch/picking_dispatch.py 2012-12-10 10:51:23 +0000
+++ picking_dispatch/picking_dispatch.py 2013-09-30 09:57:03 +0000
@@ -23,7 +23,7 @@
from openerp.osv.orm import Model
from openerp.osv import osv, fields
from openerp.osv.osv import except_osv
-from tools.translate import _
+from openerp.tools.translate import _
_logger = logging.getLogger(__name__)
=== modified file 'product_serial/company.py'
--- product_serial/company.py 2011-10-25 13:57:35 +0000
+++ product_serial/company.py 2013-09-30 09:57:03 +0000
@@ -20,7 +20,7 @@
#
##############################################################################
-from osv import osv, fields
+from openerp.osv import osv, fields
class company(osv.osv):
_inherit = 'res.company'
=== modified file 'product_serial/prodlot_wizard.py'
--- product_serial/prodlot_wizard.py 2011-10-25 13:57:35 +0000
+++ product_serial/prodlot_wizard.py 2013-09-30 09:57:03 +0000
@@ -20,8 +20,8 @@
#
##############################################################################
-from osv import osv, fields
-from tools.translate import _
+from openerp.osv import osv, fields
+from openerp.tools.translate import _
def is_integer(value):
try:
=== modified file 'product_serial/product.py'
--- product_serial/product.py 2011-10-25 13:57:35 +0000
+++ product_serial/product.py 2013-09-30 09:57:03 +0000
@@ -19,7 +19,7 @@
#
##############################################################################
-from osv import fields, osv
+from openerp.osv import fields, osv
class product_product(osv.osv):
_inherit = "product.product"
=== modified file 'product_serial/stock.py'
--- product_serial/stock.py 2013-05-14 16:34:57 +0000
+++ product_serial/stock.py 2013-09-30 09:57:03 +0000
@@ -23,9 +23,9 @@
#
##############################################################################
-from osv import fields, osv
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
import hashlib
-from tools.translate import _
class stock_move(osv.osv):
=== modified file 'stock_move_on_hold/invoice.py'
--- stock_move_on_hold/invoice.py 2012-03-07 12:56:37 +0000
+++ stock_move_on_hold/invoice.py 2013-09-30 09:57:03 +0000
@@ -19,8 +19,8 @@
#
#################################################################################
-from osv import fields, osv
-from tools.translate import _
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
class account_invoice(osv.osv):
=== modified file 'stock_move_on_hold/product.py'
--- stock_move_on_hold/product.py 2013-05-14 16:34:57 +0000
+++ stock_move_on_hold/product.py 2013-09-30 09:57:03 +0000
@@ -19,9 +19,9 @@
#
#################################################################################
-from osv import fields, osv
-from tools.translate import _
-import decimal_precision as dp
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+import openerp.addons.decimal_precision as dp
class product_product(osv.osv):
=== modified file 'stock_move_on_hold/stock.py'
--- stock_move_on_hold/stock.py 2012-03-07 12:56:37 +0000
+++ stock_move_on_hold/stock.py 2013-09-30 09:57:03 +0000
@@ -20,9 +20,9 @@
#################################################################################
from datetime import datetime
-from osv import fields, osv
-from tools.translate import _
-import netsvc
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+from openerp import netsvc
# ----------------------------------------------------
# Move
Follow ups