Skip to content

Commit

Permalink
[MIG] fleet_vehicle_history_date_end: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyOliveira98 committed Sep 12, 2024
1 parent c8533fa commit 25068a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fleet_vehicle_history_date_end/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"development_status": "Production/Stable",
"website": "https://github.com/OCA/fleet",
"license": "AGPL-3",
"version": "15.0.1.0.0",
"version": "16.0.1.0.0",
"depends": ["fleet"],
"data": [],
"installable": True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def setUpClass(cls):

def test_change_driver_history_date_end(self):
"""Check correct assignation of date_end in history of previous driver."""
first_log = self.vehicle.log_drivers
first_log = self.vehicle.log_drivers[0]
self.assertFalse(first_log.date_end)
self.vehicle.write(
{"driver_id": self.env.ref("base.res_partner_address_25").id}
Expand All @@ -23,7 +23,7 @@ def test_change_driver_history_date_end(self):
def test_apply_future_driver(self):
"""Check correct assignation of date_end in previos history log
when press button to apply future driver."""
first_log = self.vehicle.log_drivers
first_log = self.vehicle.log_drivers[0]
self.vehicle.write(
{"future_driver_id": self.env.ref("base.res_partner_address_17").id}
)
Expand Down

0 comments on commit 25068a3

Please sign in to comment.