diff --git a/addons/product/models/product.py b/addons/product/models/product.py index becbe1e7491..aafc17190a5 100644 --- a/addons/product/models/product.py +++ b/addons/product/models/product.py @@ -593,6 +593,7 @@ class ProductPackaging(models.Model): product_id = fields.Many2one('product.product', string='Product') qty = fields.Float('Contained Quantity', help="The total number of products you can have per pallet or box.") barcode = fields.Char('Barcode', copy=False, help="Barcode used for packaging identification.") + product_uom_id = fields.Many2one('uom.uom', related='product_id.uom_id') class SupplierInfo(models.Model): diff --git a/addons/product/views/product_views.xml b/addons/product/views/product_views.xml index 9eebf162865..fdff0b02a3c 100644 --- a/addons/product/views/product_views.xml +++ b/addons/product/views/product_views.xml @@ -478,6 +478,7 @@ + @@ -509,7 +510,11 @@ - +