PEP8 compliant with the latest version of flake8

This commit is contained in:
Alexis de Lattre
2016-05-07 01:39:35 +02:00
committed by Enric Tobella
parent 5b0e29c80e
commit 72c22b39d1

View File

@@ -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