From 72c22b39d13e3b44e823f2153c6e1ef145e77f2c Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 7 May 2016 01:39:35 +0200 Subject: [PATCH] PEP8 compliant with the latest version of flake8 --- account_payment_order/models/account_move_line.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_payment_order/models/account_move_line.py b/account_payment_order/models/account_move_line.py index 1a7870950..d87b57351 100644 --- a/account_payment_order/models/account_move_line.py +++ b/account_payment_order/models/account_move_line.py @@ -34,8 +34,8 @@ class AccountMoveLine(models.Model): ref2comm_type[self.invoice_id.reference_type] else: if ( - self.invoice_id.type in ('in_invoice', 'in_refund') - and self.invoice_id.reference): + self.invoice_id.type in ('in_invoice', 'in_refund') and + self.invoice_id.reference): communication = self.invoice_id.reference if self.currency_id: currency_id = self.currency_id.id