diff --git a/fleet_vehicle_ownership/static copy/description/icon.png b/fleet_vehicle_ownership/static copy/description/icon.png deleted file mode 100644 index 3a0328b5..00000000 Binary files a/fleet_vehicle_ownership/static copy/description/icon.png and /dev/null differ diff --git a/fleet_vehicle_ownership/static copy/description/index.html b/fleet_vehicle_ownership/static copy/description/index.html deleted file mode 100644 index c5dca11d..00000000 --- a/fleet_vehicle_ownership/static copy/description/index.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - - Fleet Vehicle Log Fuel - - - -
-

Fleet Vehicle Log Fuel

- - -

- Beta - License: AGPL-3 - OCA/fleet - Translate me on Weblate - Try me on Runboat -

-

This module adds fuel logs in a similar way as services.

-

Table of contents

-
- -
-
-

Bug Tracker

-

- Bugs are tracked on - GitHub Issues. In case of trouble, please check there if your issue has already been - reported. If you spotted it first, help us to smash it by providing a detailed - and welcomed - feedback. -

-

- Do not contact contributors directly about support or help with technical - issues. -

-
-
-

Credits

-
-

Authors

-
    -
  • ForgeFlow
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

- Odoo Community Association -

- OCA, or the Odoo Community Association, is a nonprofit organization whose - mission is to support the collaborative development of Odoo features and - promote its widespread use. -

-

- This module is part of the - OCA/fleet - project on GitHub. -

-

- You are welcome to contribute. To learn how please visit - https://odoo-community.org/page/Contribute. -

-
-
-
- - diff --git a/fleet_vehicle_ownership/tests/test_owner.py b/fleet_vehicle_ownership/tests/test_owner.py new file mode 100644 index 00000000..cbcda48b --- /dev/null +++ b/fleet_vehicle_ownership/tests/test_owner.py @@ -0,0 +1,25 @@ +# Copyright 2023-Present RPSJR - Raimundo Junior +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from odoo.tests import tagged +from odoo.tests.common import TransactionCase + + +@tagged("-standard") +class TestFleetVehicleDateEnd(TransactionCase): + def setUp(self): + super().setUp() + self.vehicle = self.env["fleet.vehicle"].create( + { + "license_plate": "1-ACK-554", + "vin_sn": "883333", + "color": "Black", + "location": "Grand-Rosiere", + "doors": 5, + "driver_id": self.env.ref("base.user_demo_res_partner").id, + "owner_id": self.env.ref("base.user_demo_res_partner").id, + "odometer_unit": "kilometers", + "car_value": 20000, + "model_id": self.env.ref("fleet.model_astra").id, + } + )