diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 0f8bd318e68..8da3d975fa3 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -1199,7 +1199,6 @@ 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') - project_color = fields.Integer(related='project_id.color', string='Project Color') 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.") diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index f46c48fe90b..82d4c07b249 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -1499,11 +1499,11 @@ primary - project_color + project_id 1 - color + id