[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) <yti@odoo.com>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user