From 9ef8c081ba8e016c8c500a475d175134f16024f3 Mon Sep 17 00:00:00 2001 From: Francois Kawala Date: Tue, 28 Jan 2020 10:48:35 +0100 Subject: [PATCH] Fix PEP8. --- pos_barcode_tare/__openerp__.py | 5 +++-- pos_barcode_tare/models/pos_config.py | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pos_barcode_tare/__openerp__.py b/pos_barcode_tare/__openerp__.py index 84dd548b..36841678 100644 --- a/pos_barcode_tare/__openerp__.py +++ b/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, -} \ No newline at end of file +} diff --git a/pos_barcode_tare/models/pos_config.py b/pos_barcode_tare/models/pos_config.py index ba7e0500..e5ea2698 100644 --- a/pos_barcode_tare/models/pos_config.py +++ b/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" + )