diff --git a/stock_available_to_promise_release/tests/common.py b/stock_available_to_promise_release/tests/common.py index 8cf631dba94..af69fb5320d 100644 --- a/stock_available_to_promise_release/tests/common.py +++ b/stock_available_to_promise_release/tests/common.py @@ -2,10 +2,8 @@ # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html). from odoo import fields -from odoo.tests import common, tagged -@tagged("post_install", "-at_install") class PromiseReleaseCommonCase(common.SavepointCase): @classmethod def setUpClass(cls): diff --git a/stock_available_to_promise_release/tests/test_reservation.py b/stock_available_to_promise_release/tests/test_reservation.py index b51013fdd3d..d985dd988de 100644 --- a/stock_available_to_promise_release/tests/test_reservation.py +++ b/stock_available_to_promise_release/tests/test_reservation.py @@ -7,8 +7,10 @@ from freezegun import freeze_time from .common import PromiseReleaseCommonCase +from odoo.tests import common, tagged +@tagged("post_install", "-at_install") class TestAvailableToPromiseRelease(PromiseReleaseCommonCase): def test_horizon_date(self): move = self.env["stock.move"].create( diff --git a/stock_available_to_promise_release/tests/test_unrelease.py b/stock_available_to_promise_release/tests/test_unrelease.py index 854392b2e4f..dc47d6a48d5 100644 --- a/stock_available_to_promise_release/tests/test_unrelease.py +++ b/stock_available_to_promise_release/tests/test_unrelease.py @@ -8,7 +8,10 @@ from .common import PromiseReleaseCommonCase +from odoo.tests import common, tagged + +@tagged("post_install", "-at_install") class TestAvailableToPromiseRelease(PromiseReleaseCommonCase): @classmethod def setUpClass(cls): diff --git a/stock_available_to_promise_release/tests/test_unrelease_2steps.py b/stock_available_to_promise_release/tests/test_unrelease_2steps.py index 3cf78faccc3..ef26ace3097 100644 --- a/stock_available_to_promise_release/tests/test_unrelease_2steps.py +++ b/stock_available_to_promise_release/tests/test_unrelease_2steps.py @@ -5,7 +5,10 @@ from .common import PromiseReleaseCommonCase +from odoo.tests import common, tagged + +@tagged("post_install", "-at_install") class TestAvailableToPromiseRelease(PromiseReleaseCommonCase): @classmethod def setUpClass(cls): diff --git a/stock_available_to_promise_release/tests/test_unrelease_3steps.py b/stock_available_to_promise_release/tests/test_unrelease_3steps.py index 8e71398a017..5c25af1609a 100644 --- a/stock_available_to_promise_release/tests/test_unrelease_3steps.py +++ b/stock_available_to_promise_release/tests/test_unrelease_3steps.py @@ -4,8 +4,10 @@ from datetime import datetime from .common import PromiseReleaseCommonCase +from odoo.tests import common, tagged +@tagged("post_install", "-at_install") class TestAvailableToPromiseRelease3steps(PromiseReleaseCommonCase): @classmethod def setUpClass(cls):