diff --git a/addons/product/product.py b/addons/product/product.py index 2d568e05bb6..544952914f3 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -215,7 +215,7 @@ class product_uom(osv.osv): class product_ul(osv.osv): _name = "product.ul" - _description = "Shipping Unit" + _description = "Logistic Unit" _columns = { 'name' : fields.char('Name', select=True, required=True, translate=True), 'type' : fields.selection([('unit','Unit'),('pack','Pack'),('box', 'Box'), ('pallet', 'Pallet')], 'Type', required=True), @@ -728,7 +728,7 @@ class product_product(osv.osv): 'is_only_child': fields.function( _is_only_child, type='boolean', string='Sole child of the parent template'), 'ean13': fields.char('EAN13 Barcode', size=13, help="International Article Number used for product identification."), - 'packaging': fields.one2many('product.packaging', 'product_id', 'Logistical Units', help="Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."), + 'packaging': fields.one2many('product.packaging', 'product_id', 'Packaging', help="Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."), 'price_extra': fields.float('Variant Price Extra', digits_compute=dp.get_precision('Product Price'), help="Price Extra: Extra price for the variant on sale price. eg. 200 price extra, 1000 + 200 = 1200."), 'price_margin': fields.float('Variant Price Margin', digits_compute=dp.get_precision('Product Price'), help="Price Margin: Margin in percentage amount on sale price for the variant. eg. 10 price margin, 1000 * 1.1 = 1100."), 'pricelist_id': fields.dummy(string='Pricelist', relation='product.pricelist', type='many2one'), @@ -939,9 +939,9 @@ class product_packaging(osv.osv): 'name' : fields.text('Description'), 'qty' : fields.float('Quantity by Package', help="The total number of products you can put by pallet or box."), - 'ul' : fields.many2one('product.ul', 'Type of Package', required=True), + 'ul' : fields.many2one('product.ul', 'Package Logistic Unit', required=True), 'ul_qty' : fields.integer('Package by layer', help='The number of packages by layer'), - 'ul_container': fields.many2one('product.ul', 'Container Type of Package'), + 'ul_container': fields.many2one('product.ul', 'Pallet Logistic Unit'), 'rows' : fields.integer('Number of Layers', required=True, help='The number of layers on a pallet or box'), 'product_id' : fields.many2one('product.product', 'Product', select=1, ondelete='cascade', required=True), diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index ef5c2cd71cd..04d6f4b2fe7 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -181,8 +181,8 @@ - + @@ -576,7 +576,7 @@ product.ul.form.view product.ul -
+ @@ -594,25 +594,25 @@ product.ul.tree product.ul - + - Packaging + Logistic Units ir.actions.act_window product.ul form tree,form

- Click to add a new packaging type. + Click to add a new Logistic Unit

- The packaging type define the dimensions as well as the number - of products per package. This will ensure salesperson sell the - right number of products according to the package selected. + The logistic unit defines the container used for the package. + It has a type (e.g. pallet, box, ...) and you can specify its + size.

@@ -647,9 +647,9 @@ - + diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 8719c5ff856..c35d99150c0 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -3312,8 +3312,8 @@ class stock_package(osv.osv): 'complete_name': fields.function(_complete_name, type='char', string="Package Name",), 'parent_left': fields.integer('Left Parent', select=1), 'parent_right': fields.integer('Right Parent', select=1), - 'packaging_id': fields.many2one('product.packaging', 'Type of Packaging'), - 'ul_id': fields.many2one('product.ul', 'Type of Package'), + 'packaging_id': fields.many2one('product.packaging', 'Packaging'), + 'ul_id': fields.many2one('product.ul', 'Logistic Unit'), 'location_id': fields.function(_get_package_info, type='many2one', relation='stock.location', string='Location', multi="package", store={ 'stock.quant': (_get_packages, ['location_id'], 10), diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index c81fdce2e14..f57d856be97 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -1753,8 +1753,8 @@ - - + +