Browse Source

Fix PEP8.

pull/491/head
Francois Kawala 4 years ago
committed by Sylvain LE GAL
parent
commit
9ef8c081ba
  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",
'version': '9.0.0.0.1',
'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)",
'website': "https://github.com/OCA/pos",
'license': 'AGPL-3',
@ -18,4 +19,4 @@
'static/src/xml/pos_barcode_tare.xml',
],
'installable': True,
}
}

5
pos_barcode_tare/models/pos_config.py

@ -5,4 +5,7 @@ from openerp import models, fields
class PosConfig(models.Model):
_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