diff --git a/fleet_vehicle_ownership/tests/test_partner.py b/fleet_vehicle_ownership/tests/test_partner.py index d770a3fe..97619043 100644 --- a/fleet_vehicle_ownership/tests/test_partner.py +++ b/fleet_vehicle_ownership/tests/test_partner.py @@ -19,6 +19,7 @@ def setUp(self): "location": "Grand-Rosiere", "doors": 5, "driver_id": self.partner.id, + 'owner_id': self.partner.id, "odometer_unit": "kilometers", "car_value": 20000, "model_id": self.env.ref("fleet.model_astra").id, @@ -32,6 +33,7 @@ def setUp(self): "location": "Grand-Rosiere", "doors": 5, "driver_id": self.partner.id, + 'owner_id': self.partner.id, "odometer_unit": "kilometers", "car_value": 30000, "model_id": self.env.ref("fleet.model_astra").id,