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
20 lines
565 B
# -*- coding: utf-8 -*-
|
|
|
|
from openerp import models, fields
|
|
|
|
|
|
class PosConfig(models.Model):
|
|
_inherit = 'pos.config'
|
|
iface_tare_label = fields.Boolean(
|
|
'Show tare label button',
|
|
help="Print tare labels with this POS"
|
|
)
|
|
|
|
iface_tare_barcode_sequence_id = fields.Integer(
|
|
'Barcode nomenclature sequence ID',
|
|
default=36,
|
|
required=True,
|
|
help="""The nomenclature ID gives barcode pattern.
|
|
It can be found in POS Barcode Nomenclatures. The expected barcode
|
|
pattern is 21.....{NNDDD}"""
|
|
)
|