mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
16 lines
419 B
Python
16 lines
419 B
Python
# Copyright 2020 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ContractTerminateReason(models.Model):
|
|
|
|
_name = "contract.terminate.reason"
|
|
_description = "Contract Termination Reason"
|
|
|
|
name = fields.Char(required=True)
|
|
terminate_comment_required = fields.Boolean(
|
|
string="Require a termination comment", default=True
|
|
)
|