[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:
@@ -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):
|
||||
|
||||
@@ -470,6 +470,7 @@
|
||||
<group>
|
||||
<group name="qty">
|
||||
<field name="qty"/>
|
||||
<field name="barcode"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
|
||||
Reference in New Issue
Block a user