mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
rma_account: Fix test opening invoice before validating
This commit is contained in:
committed by
Mateu Griful
parent
0e85da20b4
commit
bab6c281ee
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user