From bbe303c7455e44f49eade9ec3e887898a29de1e7 Mon Sep 17 00:00:00 2001 From: Andrius Preimantas Date: Fri, 4 Sep 2015 09:25:58 +0300 Subject: [PATCH] [FIX][pos_trade_receivable_autoreconcile] Flake8 issue --- pos_trade_receivable_autoreconcile/model/point_of_sale.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pos_trade_receivable_autoreconcile/model/point_of_sale.py b/pos_trade_receivable_autoreconcile/model/point_of_sale.py index d5dcf484..af18c9c6 100644 --- a/pos_trade_receivable_autoreconcile/model/point_of_sale.py +++ b/pos_trade_receivable_autoreconcile/model/point_of_sale.py @@ -35,7 +35,8 @@ class POSOrder(models.Model): continue for line in each.journal_entry_id.line_id: - if line.account_id.id == order_account and line.state == 'valid': + if (line.account_id.id == order_account and + line.state == 'valid'): grouped_data[key].append(line.id) for key, value in grouped_data.iteritems(): for line in order.account_move.line_id: