Browse Source

S0011 - Add a free comment text field in label page

pull/14/head
EliseDup 8 years ago
parent
commit
a10a9069b5
  1. 1
      beesdoo_product/models/beesdoo_product.py
  2. 1
      beesdoo_product/views/beesdoo_product.xml

1
beesdoo_product/models/beesdoo_product.py

@ -24,6 +24,7 @@ class BeesdooProduct(models.Model):
label_to_be_printed = fields.Boolean('Print label?')
label_last_printed = fields.Datetime('Label last printed on')
note = fields.Text('Comments')
@api.one
@api.depends('seller_ids', 'seller_ids.date_start')

1
beesdoo_product/views/beesdoo_product.xml

@ -39,6 +39,7 @@
<field name="local_label"/>
<field name="fair_label"/>
<field name="origin_label"/>
<field name="note" />
<field name="label_to_be_printed"/>
<field name="label_last_printed"/>
</group>

Loading…
Cancel
Save