mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[MIG] account_reconcile_payment_order: Migration to 15.0
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user