[MIG]account_move_line_rma_order_line to v12

This commit is contained in:
ahenriquez
2019-08-05 16:36:41 +02:00
parent 46677f09de
commit f403c06a08

View File

@@ -194,7 +194,6 @@ class TestRmaAccount(common.SingleTransactionCase):
}) })
make_refund.invoice_refund() make_refund.invoice_refund()
rma.refund_line_ids.invoice_id.action_invoice_open() rma.refund_line_ids.invoice_id.action_invoice_open()
rma.refund_line_ids.invoice_id.invoice_validate()
rma._compute_refund_count() rma._compute_refund_count()
self.assertEqual(rma.refund_count, 1) self.assertEqual(rma.refund_count, 1)
self.assertEqual(rma.qty_to_refund, 0.0) self.assertEqual(rma.qty_to_refund, 0.0)