You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
565 B

5 years ago
5 years ago
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields
  3. class PosConfig(models.Model):
  4. _inherit = 'pos.config'
  5. iface_tare_label = fields.Boolean(
  6. 'Show tare label button',
  7. help="Print tare labels with this POS"
  8. )
  9. iface_tare_barcode_sequence_id = fields.Integer(
  10. 'Barcode nomenclature sequence ID',
  11. default=36,
  12. required=True,
  13. help="""The nomenclature ID gives barcode pattern.
  14. It can be found in POS Barcode Nomenclatures. The expected barcode
  15. pattern is 21.....{NNDDD}"""
  16. )