diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 124d0761630..c0ed1f12086 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -1053,6 +1053,7 @@ class Task(models.Model): 'res.company', string='Company', compute='_compute_company_id', store=True, readonly=False, required=True, copy=True, default=_default_company_id) color = fields.Integer(string='Color Index') + rating_active = fields.Boolean(string='Project Rating Status', related="project_id.rating_active") attachment_ids = fields.One2many('ir.attachment', compute='_compute_attachment_ids', string="Main Attachments", help="Attachments that don't come from a message.") # In the domain of displayed_image_id, we couln't use attachment_ids because a one2many is represented as a list of commands so we used res_model & res_id diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 5f8254901af..0c23321eb33 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -845,7 +845,8 @@ -