mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
@@ -10,7 +10,7 @@ from dateutil.relativedelta import relativedelta
|
|||||||
|
|
||||||
from odoo import fields
|
from odoo import fields
|
||||||
from odoo.exceptions import UserError, ValidationError
|
from odoo.exceptions import UserError, ValidationError
|
||||||
from odoo.tests import Form, common
|
from odoo.tests import Form, common, tagged
|
||||||
|
|
||||||
|
|
||||||
def to_date(date):
|
def to_date(date):
|
||||||
@@ -191,6 +191,7 @@ class TestContractBase(common.SavepointCase):
|
|||||||
return cls.uom_obj.create(vals)
|
return cls.uom_obj.create(vals)
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestContract(TestContractBase):
|
class TestContract(TestContractBase):
|
||||||
def _add_template_line(self, overrides=None):
|
def _add_template_line(self, overrides=None):
|
||||||
if overrides is None:
|
if overrides is None:
|
||||||
|
|||||||
@@ -5,10 +5,12 @@
|
|||||||
|
|
||||||
|
|
||||||
from odoo.exceptions import UserError
|
from odoo.exceptions import UserError
|
||||||
|
from odoo.tests import tagged
|
||||||
|
|
||||||
from .test_contract import TestContractBase
|
from .test_contract import TestContractBase
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class TestContractManuallyCreateInvoice(TestContractBase):
|
class TestContractManuallyCreateInvoice(TestContractBase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
# Copyright 2021 ACSONE SA/NV (<http://acsone.eu>)
|
# Copyright 2021 ACSONE SA/NV (<http://acsone.eu>)
|
||||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||||
|
|
||||||
|
from odoo.tests import tagged
|
||||||
|
|
||||||
from .test_contract import TestContractBase
|
from .test_contract import TestContractBase
|
||||||
|
|
||||||
|
|
||||||
|
@tagged("post_install", "-at_install")
|
||||||
class ContractMulticompanyCase(TestContractBase):
|
class ContractMulticompanyCase(TestContractBase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
|||||||
Reference in New Issue
Block a user