diff --git a/rma_account/tests/test_rma_stock_account.py b/rma_account/tests/test_rma_stock_account.py index a0ce458b..1e160fee 100644 --- a/rma_account/tests/test_rma_stock_account.py +++ b/rma_account/tests/test_rma_stock_account.py @@ -172,7 +172,7 @@ class TestRmaStockAccount(TestRma): # When we received we Credited to GDNI 30 # When we refund we Debit to GDNI 10 self.assertEqual(gdni_balance, -20.0) - make_refund = self.rma_refund_wizwith_context( + make_refund = self.rma_refund_wiz.with_context( **{ "customer": True, "active_ids": rma.ids, diff --git a/rma_account_unreconciled/tests/test_rma_account_unreconciled.py b/rma_account_unreconciled/tests/test_rma_account_unreconciled.py index 42ce79dd..9d1a43b4 100644 --- a/rma_account_unreconciled/tests/test_rma_account_unreconciled.py +++ b/rma_account_unreconciled/tests/test_rma_account_unreconciled.py @@ -54,8 +54,8 @@ class TestRmaAccountUnreconciled(TestRma): rma_line.action_rma_approve() self.assertFalse(rma_line.unreconciled) self.rma_customer_id.rma_line_ids.action_rma_to_approve() - wizard = self.rma_make_picking.with_context( - { + wizard = self.rma_make_pickingwith_context( + **{ "active_ids": self.rma_customer_id.rma_line_ids.ids, "active_model": "rma.order.line", "picking_type": "incoming", @@ -73,7 +73,7 @@ class TestRmaAccountUnreconciled(TestRma): rma_line._compute_unreconciled() self.assertTrue(rma_line.unreconciled) make_refund = self.rma_refund_wiz.with_context( - { + **{ "customer": True, "active_ids": self.rma_customer_id.rma_line_ids.ids, "active_model": "rma.order.line",