diff --git a/l10n_br_account_payment_order/demo/account_invoice.xml b/l10n_br_account_payment_order/demo/account_invoice.xml index 0cfa23aaf51d..b41ffe4ac81e 100644 --- a/l10n_br_account_payment_order/demo/account_invoice.xml +++ b/l10n_br_account_payment_order/demo/account_invoice.xml @@ -11,6 +11,7 @@ out_invoice + diff --git a/l10n_br_account_payment_order/tests/test_payment_order.py b/l10n_br_account_payment_order/tests/test_payment_order.py index fa20a127f32e..a7154265cb6f 100644 --- a/l10n_br_account_payment_order/tests/test_payment_order.py +++ b/l10n_br_account_payment_order/tests/test_payment_order.py @@ -110,9 +110,10 @@ def test_cancel_payment_order(self): if line.amount_currency == 700.0: line.percent_interest = 1.5 test_amount_interest = line.amount_interest - self.assertEquals( - test_amount_interest, 10.5, - "Error with compute field amount_interest.") + if line.amount_currency == 700.0: + self.assertEquals( + test_amount_interest, 10.5, + "Error with compute field amount_interest.") # Open payment order payment_order.draft2open()