Browse Source

[FIX] pos_payment_terminal: Fix tests

pull/389/head
Denis Roussel 5 years ago
parent
commit
297757dd5f
  1. 5
      pos_payment_terminal/tests/test_transactions.py

5
pos_payment_terminal/tests/test_transactions.py

@ -2,10 +2,10 @@
# Copyright (C) 2018-TODAY ACSONE SA/NV (<https://www.acsone.eu>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import odoo
from odoo.addons.point_of_sale.tests.common import TestPointOfSaleCommon
class TestTransactions(odoo.tests.TransactionCase):
class TestTransactions(TestPointOfSaleCommon):
def test_matching(self):
card_journal_id = self.env['account.journal'].create({
@ -16,6 +16,7 @@ class TestTransactions(odoo.tests.TransactionCase):
}).id
cash_journal_id = 0
pos_order = {
'pos_session_id': self.pos_order_session0.id,
'statement_ids': [
(0, 0, {
'name': 'Payment1',

Loading…
Cancel
Save