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