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
ahenriquez
parent
80863323ad
commit
9d8d282beb
@@ -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