From 299bb47a531a91ae6ea54e14ef107ea2da63a623 Mon Sep 17 00:00:00 2001 From: Leonardo Pavan Rocha Date: Fri, 6 May 2022 08:04:42 +0000 Subject: [PATCH] [FIX] hr_fleet: fixes demo data vehicle assignation logs In the demo data from hr_fleet, we add address_home_id's to some employees in order to create the correct vehicle assignation logs. However, as the driver_id is already set at that moment, the _compute_driver_employee_id is not called again as no dependency was changed, resulting in an empty driver_employee_id for some logs. This commit fixes this by calling the compute method on the demo data with the assignation logs that have no driver_employee_id set and have a driver_id. task-2742923 Part-of: odoo/odoo#83755 --- addons/hr_fleet/data/hr_fleet_demo.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addons/hr_fleet/data/hr_fleet_demo.xml b/addons/hr_fleet/data/hr_fleet_demo.xml index 7898665f464..2bbd2c467c9 100644 --- a/addons/hr_fleet/data/hr_fleet_demo.xml +++ b/addons/hr_fleet/data/hr_fleet_demo.xml @@ -29,4 +29,10 @@ + + + + + +