From a6c0817b1132170eaba95b45fc67cef6db957a3d Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Tue, 19 Jan 2021 13:47:21 +0530 Subject: [PATCH] add comment field in project screen --- cor_custom/models/project.py | 1 + cor_custom/views/project_view.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/cor_custom/models/project.py b/cor_custom/models/project.py index f5d3a15..e913824 100755 --- a/cor_custom/models/project.py +++ b/cor_custom/models/project.py @@ -68,6 +68,7 @@ class Project(models.Model): consultant_timesheet_hrs = fields.One2many('consultant.timesheet.hrs', 'project_id', "Timesheet Hrs", copy=False, help="Consultant timesheet hours") project_cons_hrs = fields.One2many('project.consultant.hrs', 'project_id', 'Consultant Allocation', copy=False) + comment = fields.Text(string='Comment') def _onchange_calculate_timesheet_hours(self): self.consultant_timesheet_hrs = [(6, 0, False)] diff --git a/cor_custom/views/project_view.xml b/cor_custom/views/project_view.xml index cebca74..e507b7b 100755 --- a/cor_custom/views/project_view.xml +++ b/cor_custom/views/project_view.xml @@ -61,6 +61,7 @@ +