Files
odoo_source/addons/fleet/models
Jurgen (jugj) 7edde43100 [FIX] fleet: Take into account vehicle type when applying new drivers
In this PR we fix the current behavior :
When you apply a new driver to a vehicle, all other vehicles having that driver as current driver will have their
driver_id set to false, but if we are applying a new driver to a bike, we don't want his car, if he has one to be unassigned from him.
task-3463518

closes odoo/odoo#131840

X-original-commit: 7649f45ee45aea152224e4ff0fe9b9430ad3c9f8
Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
2023-08-21 12:39:14 +02:00
..