[14.0][ADD] agreement_tier_validation

This commit is contained in:
Kitti U
2022-03-29 10:54:11 +07:00
parent 0766f02db6
commit d78b6787bd
17 changed files with 119 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Copyright 2022 Ecosoft Co., Ltd.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
from odoo.addons.base_tier_validation.tests.common import CommonTierValidation
class TestAgreementTierValidation(CommonTierValidation):
def test_01_tier_definition_models(self):
res = self.tier_def_obj._get_tier_validation_model_names()
self.assertIn("agreement", res)