From 191e71b2a60e54fe02c509c931486f1bdcf331c4 Mon Sep 17 00:00:00 2001 From: Andrius Preimantas Date: Wed, 20 May 2015 08:31:19 +0300 Subject: [PATCH] [FIX][flake8] E501 line too long --- pos_trade_receivable_autoreconcile/model/point_of_sale.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pos_trade_receivable_autoreconcile/model/point_of_sale.py b/pos_trade_receivable_autoreconcile/model/point_of_sale.py index 261a476b..d4f7a26a 100644 --- a/pos_trade_receivable_autoreconcile/model/point_of_sale.py +++ b/pos_trade_receivable_autoreconcile/model/point_of_sale.py @@ -39,10 +39,12 @@ class POSOrder(models.Model): grouped_data[key].append(line.id) for key, value in grouped_data.iteritems(): for line in order.account_move.line_id: - if line.account_id.id == key[1] and line.partner_id.id == key[0]: + if (line.account_id.id == key[1] and + line.partner_id.id == key[0]): grouped_data[key].append(line.id) break for key, value in grouped_data.iteritems(): - self.pool.get('account.move.line').reconcile_partial(cr, uid, value) + self.pool.get('account.move.line').reconcile_partial( + cr, uid, value) return to_ret