mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Missing migration to 13.0
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
96cb85bf50
commit
12c8ae3f31
@@ -99,19 +99,13 @@ class ContractContract(models.Model):
|
||||
ondelete="restrict",
|
||||
readonly=True,
|
||||
copy=False,
|
||||
track_visibility="onchange",
|
||||
tracking=True,
|
||||
)
|
||||
terminate_comment = fields.Text(
|
||||
string="Termination Comment",
|
||||
readonly=True,
|
||||
copy=False,
|
||||
track_visibility="onchange",
|
||||
string="Termination Comment", readonly=True, copy=False, tracking=True,
|
||||
)
|
||||
terminate_date = fields.Date(
|
||||
string="Termination Date",
|
||||
readonly=True,
|
||||
copy=False,
|
||||
track_visibility="onchange",
|
||||
string="Termination Date", readonly=True, copy=False, tracking=True,
|
||||
)
|
||||
modification_ids = fields.One2many(
|
||||
comodel_name="contract.modification",
|
||||
|
||||
@@ -9,7 +9,7 @@ class ContractTag(models.Model):
|
||||
_name = "contract.tag"
|
||||
_description = "Contract Tag"
|
||||
|
||||
name = fields.Char(requirment=True)
|
||||
name = fields.Char(required=True)
|
||||
company_id = fields.Many2one(
|
||||
"res.company", string="Company", default=lambda self: self.env.company.id,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user