From 40da8c413b345cda91e6d47edf4f5cc892385b93 Mon Sep 17 00:00:00 2001 From: Jasmin Solanki Date: Fri, 7 Jan 2022 14:28:00 +0530 Subject: [PATCH] [MIG] rma_account: Migration to 15.0 --- rma_account/__manifest__.py | 2 +- rma_account/tests/test_rma_account.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rma_account/__manifest__.py b/rma_account/__manifest__.py index d15e1694..c12d1114 100644 --- a/rma_account/__manifest__.py +++ b/rma_account/__manifest__.py @@ -3,7 +3,7 @@ { "name": "RMA Account", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "LGPL-3", "category": "RMA", "summary": "Integrates RMA with Invoice Processing", diff --git a/rma_account/tests/test_rma_account.py b/rma_account/tests/test_rma_account.py index b970ed34..b86eb3bd 100644 --- a/rma_account/tests/test_rma_account.py +++ b/rma_account/tests/test_rma_account.py @@ -220,7 +220,7 @@ class TestRmaAccount(common.SingleTransactionCase): {"customer": True, "active_ids": rma.ids, "active_model": "rma.order.line"} ).create({"description": "Test refund"}) make_refund.invoice_refund() - rma.refund_line_ids.move_id.post() + rma.refund_line_ids.move_id.action_post() rma._compute_refund_count() self.assertEqual(rma.refund_count, 1) self.assertEqual(rma.qty_to_refund, 0.0) @@ -258,7 +258,7 @@ class TestRmaAccount(common.SingleTransactionCase): {"customer": True, "active_ids": rma.ids, "active_model": "rma.order.line"} ).create({"description": "Test refund"}) make_refund.invoice_refund() - rma.refund_line_ids.move_id.post() + rma.refund_line_ids.move_id.action_post() rma._compute_refund_count() self.assertEqual( self.operation_1.refund_journal_id, rma.refund_line_ids.journal_id