summaryrefslogtreecommitdiff
path: root/addons/point_of_sale
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2021-03-04 16:01:00 +0000
committerKevin Baptiste <kba@odoo.com>2021-03-09 10:39:06 +0000
commit2e225179bf3fb6ed98fa51f9fceca6f286a70b85 (patch)
treeb09376fdb1e51930049ee2aa619a1de4cbc87e3d /addons/point_of_sale
parenta2a45539ca4056eb3b3d5d6bafbfb63c10255843 (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/point_of_sale')
0 files changed, 0 insertions, 0 deletions