From 917e88a41b8ca5021ab07592b859680901b72ab9 Mon Sep 17 00:00:00 2001 From: Magno Costa Date: Thu, 29 Apr 2021 18:19:37 -0300 Subject: [PATCH] [FIX] Wrong code. --- l10n_br_account_payment_order/models/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l10n_br_account_payment_order/models/account_move_line.py b/l10n_br_account_payment_order/models/account_move_line.py index 4a2754425c8c..50996ffe5adb 100644 --- a/l10n_br_account_payment_order/models/account_move_line.py +++ b/l10n_br_account_payment_order/models/account_move_line.py @@ -156,7 +156,7 @@ def create_payment_line_from_move_line(self, payment_order): :return: """ cnab_state = 'added' - if self.reconciled == 'paid': + if self.reconciled: cnab_state = 'added_paid' self.cnab_state = cnab_state