From 2c3ee58f37b7774bfc0786dcf344306e4e8c7bcb Mon Sep 17 00:00:00 2001 From: Ruchir Shukla Date: Mon, 6 Mar 2023 12:30:59 +0530 Subject: [PATCH] [MIG][15.0]account_payment_order_return:Migration to 15.0 --- account_payment_order_return/__manifest__.py | 4 ++-- .../tests/test_account_payment_order_return.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account_payment_order_return/__manifest__.py b/account_payment_order_return/__manifest__.py index 055fd17d0..776671c1c 100644 --- a/account_payment_order_return/__manifest__.py +++ b/account_payment_order_return/__manifest__.py @@ -4,9 +4,9 @@ { "name": "Account Payment Order Return", - "version": "14.0.1.0.2", + "version": "15.0.1.0.0", "category": "Banking addons", - "author": "Tecnativa, " "Odoo Community Association (OCA)", + "author": "Tecnativa, Odoo Community Association (OCA)", "website": "https://github.com/OCA/bank-payment", "depends": ["account_payment_return", "account_payment_order"], "data": ["wizards/account_payment_line_create_view.xml"], diff --git a/account_payment_order_return/tests/test_account_payment_order_return.py b/account_payment_order_return/tests/test_account_payment_order_return.py index 58a32d509..62f1e5266 100644 --- a/account_payment_order_return/tests/test_account_payment_order_return.py +++ b/account_payment_order_return/tests/test_account_payment_order_return.py @@ -10,7 +10,7 @@ from odoo.tests import common from odoo.tests.common import Form -class TestAccountPaymentOrderReturn(common.SavepointCase): +class TestAccountPaymentOrderReturn(common.TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() @@ -68,7 +68,7 @@ class TestAccountPaymentOrderReturn(common.SavepointCase): "active_id": self.payment_order.id, } ) - wizard = wizard_o.with_context(context).create( + wizard = wizard_o.with_context(**context).create( { "order_id": self.payment_order.id, "journal_ids": [