Files
odoo_source/addons/hr_fleet/data
Leonardo Pavan Rocha 299bb47a53 [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
2022-05-24 15:59:56 +02:00
..