diff options
| author | Kevin Baptiste <kba@odoo.com> | 2021-03-04 16:01:00 +0000 |
|---|---|---|
| committer | Kevin Baptiste <kba@odoo.com> | 2021-03-09 10:39:06 +0000 |
| commit | 2e225179bf3fb6ed98fa51f9fceca6f286a70b85 (patch) | |
| tree | b09376fdb1e51930049ee2aa619a1de4cbc87e3d /addons/website | |
| parent | a2a45539ca4056eb3b3d5d6bafbfb63c10255843 (diff) | |
[FIX] hr_holidays: Initialize hr.employee.public view after hr.employee.public
Purpose
======
Currently, in some rare cases, if the hr.employee.public is initialized before the hr.employee.public
table, this could lead to a traceback or even some inconsistencies when computing the field
current_leave_id, probably because of the MRO graph construction (to be investigated).
Specification
=========
1/ Ensure the table existence
2/ Set a dummy value for current_leave_id to force the recomputation to a valid one.
opw-2476677
closes odoo/odoo#67518
X-original-commit: 568ed9cde99bbcd6f3d390ec235c86c504466551
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Kevin Baptiste <kba@odoo.com>
Diffstat (limited to 'addons/website')
0 files changed, 0 insertions, 0 deletions
