mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[14.0][ADD] agreement_tier_validation
This commit is contained in:
13
agreement_tier_validation/models/agreement.py
Normal file
13
agreement_tier_validation/models/agreement.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2022 Ecosoft Co., Ltd.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import models
|
||||
|
||||
|
||||
class Agreement(models.Model):
|
||||
_name = "agreement"
|
||||
_inherit = ["agreement", "tier.validation"]
|
||||
_state_from = ["draft"]
|
||||
_state_to = ["active"]
|
||||
|
||||
_tier_validation_manual_config = False
|
||||
Reference in New Issue
Block a user