Commit Graph
2 Commits
Author SHA1 Message Date
Yannick Tivisse 1bd73558da [IMP] hr: Add work location number field
Could be useful, for example in the DMFA declaration

closes odoo/odoo#65792

Related: odoo/enterprise#16228
Related: odoo/upgrade#2159
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-02-16 08:44:43 +00:00
Kevin Baptiste 3d5e912da7 [IMP] hr: add a model for work locations
The work location of an employee was previously a fields.Char. That was
changed to a Many2one field to a the new model called work.location.
That had some consequences in other modules that had to be slightly
adjusted.  The modules impacted were hr, hr_appraisal, hr_payroll.

Task id: 2335646

closes odoo/odoo#63192

Related: odoo/enterprise#15235
Related: odoo/upgrade#2020
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-02-05 13:00:09 +00:00