Browse Source

Fix PEP8.

pull/501/head
Francois Kawala 5 years ago
committed by François Kawala
parent
commit
547199fbd8
  1. 5
      pos_barcode_tare/__openerp__.py
  2. 5
      pos_barcode_tare/models/pos_config.py

5
pos_barcode_tare/__openerp__.py

@ -5,7 +5,8 @@
'name': "Point of Sale - Tare barecode labels for loose goods", 'name': "Point of Sale - Tare barecode labels for loose goods",
'version': '9.0.0.0.1', 'version': '9.0.0.0.1',
'category': 'Point of Sale', 'category': 'Point of Sale',
'summary': 'Point of Sale - Print and scan tare barecodes labels to sell loose goods.',
'summary': """Point of Sale - Print and scan tare \
barecodes labels to sell loose goods.""",
'author': "Le Nid, Odoo Community Association (OCA)", 'author': "Le Nid, Odoo Community Association (OCA)",
'website': "https://github.com/OCA/pos", 'website': "https://github.com/OCA/pos",
'license': 'AGPL-3', 'license': 'AGPL-3',
@ -18,4 +19,4 @@
'static/src/xml/pos_barcode_tare.xml', 'static/src/xml/pos_barcode_tare.xml',
], ],
'installable': True, 'installable': True,
}
}

5
pos_barcode_tare/models/pos_config.py

@ -5,4 +5,7 @@ from openerp import models, fields
class PosConfig(models.Model): class PosConfig(models.Model):
_inherit = 'pos.config' _inherit = 'pos.config'
tare_label_button = fields.Boolean('Show tare label button', help="Print tare labels with this POS")
tare_label_button = fields.Boolean(
'Show tare label button',
help="Print tare labels with this POS"
)
Loading…
Cancel
Save