From db8d22621f8921bf42532af9bdd1c4ed1bddabef Mon Sep 17 00:00:00 2001 From: RomainLibert Date: Thu, 18 Jul 2019 12:46:53 +0000 Subject: [PATCH] [FIX] hr: Add the color field to public employee The color field is necessary to be able to display some fields (many2many_tags) and used in the kanban views closes odoo/odoo#35216 Signed-off-by: Yannick Tivisse (yti) --- addons/hr/models/hr_employee_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr/models/hr_employee_base.py b/addons/hr/models/hr_employee_base.py index 191a5cb926d..20e1ff374fe 100644 --- a/addons/hr/models/hr_employee_base.py +++ b/addons/hr/models/hr_employee_base.py @@ -11,6 +11,7 @@ class HrEmployeeBase(models.AbstractModel): name = fields.Char() active = fields.Boolean("Active") + color = fields.Integer('Color Index', default=0) department_id = fields.Many2one('hr.department', 'Department') job_id = fields.Many2one('hr.job', 'Job Position') job_title = fields.Char("Job Title")