diff --git a/rma_account/tests/test_rma_account.py b/rma_account/tests/test_rma_account.py index 2f53a503..75733cf3 100644 --- a/rma_account/tests/test_rma_account.py +++ b/rma_account/tests/test_rma_account.py @@ -193,6 +193,7 @@ class TestRmaAccount(common.SingleTransactionCase): 'description': 'Test refund', }) make_refund.invoice_refund() + rma.refund_line_ids.invoice_id.action_invoice_open() rma.refund_line_ids.invoice_id.invoice_validate() rma._compute_refund_count() self.assertEqual(rma.refund_count, 1)