[IMP] product: add field 'barcode' on packaging

We add a field allowing to set a barcode on the product packaging.
This commit is contained in:
Pierre Masereel
2017-01-03 17:53:36 +01:00
parent 796900feb7
commit c4055299c3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -578,6 +578,7 @@ class ProductPackaging(models.Model):
sequence = fields.Integer('Sequence', default=1, help="The first in the sequence is the default one.")
product_id = fields.Many2one('product.product', string='Product')
qty = fields.Float('Quantity per Package', 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.")
class SuppliferInfo(models.Model):
+1
View File
@@ -470,6 +470,7 @@
<group>
<group name="qty">
<field name="qty"/>
<field name="barcode"/>
</group>
</group>
</sheet>