Skip to content

Commit

Permalink
[UPD] Update testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
chaule97 committed Nov 8, 2024
1 parent 3c6e64c commit eb9cfc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion partner_invoicing_mode/tests/common.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright 2020 Camptocamp SA
# Copyright 2023 ACSONE SA/NV
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
from odoo.tests.common import TransactionCase


class CommonPartnerInvoicingMode:
class CommonPartnerInvoicingMode(TransactionCase):
_invoicing_mode = "standard"

@classmethod
Expand Down
3 changes: 1 addition & 2 deletions partner_invoicing_mode/tests/test_invoice_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@

from odoo import fields
from odoo.tests import Form
from odoo.tests.common import TransactionCase

from odoo.addons.queue_job.tests.common import trap_jobs

from ..models.res_partner import ResPartner
from .common import CommonPartnerInvoicingMode


class TestInvoiceMode(CommonPartnerInvoicingMode, TransactionCase):
class TestInvoiceMode(CommonPartnerInvoicingMode):
@classmethod
def setUpClass(cls):
super().setUpClass()
Expand Down

0 comments on commit eb9cfc1

Please sign in to comment.