[MIG] account_reconcile_payment_order: Migration to 15.0

This commit is contained in:
Luis Ernesto García Medina
2023-05-04 17:48:06 -06:00
parent 321e549545
commit d25eb2a40c
3 changed files with 2 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
{
"name": "Reconcile payment orders",
"version": "14.0.2.0.0",
"version": "15.0.1.0.0",
"author": "Therp BV, Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/account-reconcile",

View File

@@ -1,4 +1,4 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
# Tests (and module?) must be ported to new version of account_payment_order
# from . import test_account_reconcile_payment_order
from . import test_account_reconcile_payment_order

View File

@@ -54,7 +54,6 @@ class TestAccountReconcilePaymentOrder(TestPaymentOrderInboundBase):
def test_reconcile_payment_order_bank(self):
self.assertEqual(len(self.inbound_order.payment_line_ids), 2)
self.inbound_mode.write({"move_option": "line"})
# Prepare payment order
self.inbound_order.draft2open()
self.inbound_order.open2generated()
@@ -68,7 +67,6 @@ class TestAccountReconcilePaymentOrder(TestPaymentOrderInboundBase):
self.inbound_mode.write(
{
"default_journal_ids": [(4, self.bank_journal.id)],
"move_option": "line",
}
)
self.assertEqual(len(self.inbound_order.payment_line_ids), 2)