From fd10c32f4f2ffa266d82ad076c2905830a65713b Mon Sep 17 00:00:00 2001 From: sbejaoui Date: Mon, 4 Nov 2019 13:03:13 +0100 Subject: [PATCH] [12.0][ADD] - Add note field to contract --- contract/models/contract.py | 1 + contract/report/report_contract.xml | 5 +++++ contract/views/contract.xml | 1 + 3 files changed, 7 insertions(+) diff --git a/contract/models/contract.py b/contract/models/contract.py index 30fe1d9a..e4a97322 100644 --- a/contract/models/contract.py +++ b/contract/models/contract.py @@ -92,6 +92,7 @@ class ContractContract(models.Model): index=True ) tag_ids = fields.Many2many(comodel_name="contract.tag", string="Tags") + note = fields.Text(string="Notes") @api.multi def _inverse_partner_id(self): diff --git a/contract/report/report_contract.xml b/contract/report/report_contract.xml index 1097969c..c9d1095b 100644 --- a/contract/report/report_contract.xml +++ b/contract/report/report_contract.xml @@ -68,6 +68,11 @@ +
+ Notes: +

+

+

diff --git a/contract/views/contract.xml b/contract/views/contract.xml index 670b4040..33492798 100644 --- a/contract/views/contract.xml +++ b/contract/views/contract.xml @@ -74,6 +74,7 @@ string="Recurring Invoices"> +