From 934db89c6d60a3ffb3687b5bdfc7710f5521d270 Mon Sep 17 00:00:00 2001 From: Magno Costa Date: Mon, 22 Feb 2021 11:19:10 -0300 Subject: [PATCH] [FIX] PEP8. --- l10n_br_account_payment_order/models/account_invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n_br_account_payment_order/models/account_invoice.py b/l10n_br_account_payment_order/models/account_invoice.py index 3039ed7ead74..a114bb876bc1 100644 --- a/l10n_br_account_payment_order/models/account_invoice.py +++ b/l10n_br_account_payment_order/models/account_invoice.py @@ -256,7 +256,7 @@ def create_account_payment_line_cnab_baixa(self, amount_payment): applicable_lines, change_title_value_line = \ self._cnab_change_title_value( - inv, amount_payment) + inv, amount_payment) # Verificar Ordem de Pagto apo = self.env['account.payment.order'] @@ -358,7 +358,7 @@ def _cnab_change_title_value(self, invoice, amount_payment): applicable_lines = self.env['account.move.line'] lines_not_paid = invoice.move_id.line_ids.filtered( lambda x: x.debit > 0.0 and - x.payment_situation in ('inicial', 'aberta') + x.payment_situation in ('inicial', 'aberta') ) amount_value = 0.0