From 04b0169e2960fefcc5f1b28ec32faf5393ac5490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 5 Oct 2013 12:17:20 +0200 Subject: [PATCH] Fix flake8 --- sale.py | 6 ++++-- tests/__init__.py | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sale.py b/sale.py index 337a0c9928..c8a1e9f414 100644 --- a/sale.py +++ b/sale.py @@ -173,7 +173,8 @@ class Sale(Workflow, ModelSQL, ModelView): cls._error_messages.update({ 'invalid_method': ('Invalid combination of shipment and ' 'invoicing methods on sale "%s".'), - 'addresses_required': ('Invoice and Shipment addresses must be ' + 'addresses_required': ( + 'Invoice and Shipment addresses must be ' 'defined for the quotation of sale "%s".'), 'warehouse_required': ('Warehouse must be defined for the ' 'quotation of sale "%s".'), @@ -1032,7 +1033,8 @@ class SaleLine(ModelSQL, ModelView): super(SaleLine, cls).__setup__() cls._order.insert(0, ('sequence', 'ASC')) cls._error_messages.update({ - 'customer_location_required': ('Sale "%(sale)s" is missing the ' + 'customer_location_required': ( + 'Sale "%(sale)s" is missing the ' 'customer location in line "%(line)s".'), 'missing_account_revenue': ('Product "%(product)s" of sale ' '%(sale)s misses a revenue account.'), diff --git a/tests/__init__.py b/tests/__init__.py index 656a24232e..479d61c26c 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,3 +2,5 @@ #this repository contains the full copyright notices and license terms. from .test_sale import suite + +__all__ = ['suite']