mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] - track resiliation fields
This commit is contained in:
@@ -102,12 +102,19 @@ class ContractContract(models.Model):
|
|||||||
ondelete="restrict",
|
ondelete="restrict",
|
||||||
readonly=True,
|
readonly=True,
|
||||||
copy=False,
|
copy=False,
|
||||||
|
track_visibility="onchange",
|
||||||
)
|
)
|
||||||
resiliate_comment = fields.Text(
|
resiliate_comment = fields.Text(
|
||||||
string="Resiliate Comment", readonly=True, copy=False
|
string="Resiliate Comment",
|
||||||
|
readonly=True,
|
||||||
|
copy=False,
|
||||||
|
track_visibility="onchange",
|
||||||
)
|
)
|
||||||
resiliate_date = fields.Date(
|
resiliate_date = fields.Date(
|
||||||
string="Resiliate Date", readonly=True, copy=False
|
string="Resiliate Date",
|
||||||
|
readonly=True,
|
||||||
|
copy=False,
|
||||||
|
track_visibility="onchange",
|
||||||
)
|
)
|
||||||
|
|
||||||
@api.multi
|
@api.multi
|
||||||
|
|||||||
Reference in New Issue
Block a user