odoo-addon-fleet-vehicle-inspection 18.0.1.0.0.8__py3-none-any.whl → 19.0.1.0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/fleet_vehicle_inspection/README.rst +11 -7
- odoo/addons/fleet_vehicle_inspection/__manifest__.py +2 -2
- odoo/addons/fleet_vehicle_inspection/i18n/fleet_vehicle_inspection.pot +13 -20
- odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle.py +2 -10
- odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle_inspection.py +9 -6
- odoo/addons/fleet_vehicle_inspection/static/description/index.html +21 -15
- odoo/addons/fleet_vehicle_inspection/tests/test_fleet_vehicle_inspection.py +4 -4
- odoo/addons/fleet_vehicle_inspection/views/fleet_vehicle_inspection_views.xml +16 -16
- {odoo_addon_fleet_vehicle_inspection-18.0.1.0.0.8.dist-info → odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info}/METADATA +14 -11
- {odoo_addon_fleet_vehicle_inspection-18.0.1.0.0.8.dist-info → odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info}/RECORD +12 -12
- {odoo_addon_fleet_vehicle_inspection-18.0.1.0.0.8.dist-info → odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info}/WHEEL +0 -0
- {odoo_addon_fleet_vehicle_inspection-18.0.1.0.0.8.dist-info → odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
2
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
3
|
+
:alt: Odoo Community Association
|
|
4
|
+
|
|
1
5
|
========================
|
|
2
6
|
Fleet Vehicle Inspection
|
|
3
7
|
========================
|
|
@@ -7,23 +11,23 @@ Fleet Vehicle Inspection
|
|
|
7
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
12
|
!! changes will be overwritten. !!
|
|
9
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:cd75a55e777e47ea309a052fd2daaa6965802c208cdead0f3cbfa89ddb1251ea
|
|
11
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
16
|
|
|
13
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
14
18
|
:target: https://odoo-community.org/page/development-status
|
|
15
19
|
:alt: Beta
|
|
16
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
20
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
17
21
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
22
|
:alt: License: AGPL-3
|
|
19
23
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffleet-lightgray.png?logo=github
|
|
20
|
-
:target: https://github.com/OCA/fleet/tree/
|
|
24
|
+
:target: https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_inspection
|
|
21
25
|
:alt: OCA/fleet
|
|
22
26
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/fleet-
|
|
27
|
+
:target: https://translation.odoo-community.org/projects/fleet-19-0/fleet-19-0-fleet_vehicle_inspection
|
|
24
28
|
:alt: Translate me on Weblate
|
|
25
29
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
26
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=
|
|
30
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=19.0
|
|
27
31
|
:alt: Try me on Runboat
|
|
28
32
|
|
|
29
33
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -59,7 +63,7 @@ Bug Tracker
|
|
|
59
63
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/fleet/issues>`_.
|
|
60
64
|
In case of trouble, please check there if your issue has already been reported.
|
|
61
65
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
62
|
-
`feedback <https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection%0Aversion:%
|
|
66
|
+
`feedback <https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
63
67
|
|
|
64
68
|
Do not contact contributors directly about support or help with technical issues.
|
|
65
69
|
|
|
@@ -109,6 +113,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
109
113
|
|
|
110
114
|
|maintainer-marcelsavegnago|
|
|
111
115
|
|
|
112
|
-
This module is part of the `OCA/fleet <https://github.com/OCA/fleet/tree/
|
|
116
|
+
This module is part of the `OCA/fleet <https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_inspection>`_ project on GitHub.
|
|
113
117
|
|
|
114
118
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2020 -
|
|
1
|
+
# Copyright 2020 - 2025, Escodoo
|
|
2
2
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
3
3
|
|
|
4
4
|
{
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"summary": """
|
|
7
7
|
This module extends the Fleet module allowing the registration
|
|
8
8
|
of vehicle entry and exit inspections.""",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "19.0.1.0.0",
|
|
10
10
|
"license": "AGPL-3",
|
|
11
11
|
"category": "Fleet",
|
|
12
12
|
"author": "Escodoo,Odoo Community Association (OCA)",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
msgid ""
|
|
6
6
|
msgstr ""
|
|
7
|
-
"Project-Id-Version: Odoo Server
|
|
7
|
+
"Project-Id-Version: Odoo Server 19.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -158,6 +158,7 @@ msgid "Direction OUT"
|
|
|
158
158
|
msgstr ""
|
|
159
159
|
|
|
160
160
|
#. module: fleet_vehicle_inspection
|
|
161
|
+
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle__display_name
|
|
161
162
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection__display_name
|
|
162
163
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__display_name
|
|
163
164
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__display_name
|
|
@@ -237,11 +238,6 @@ msgstr ""
|
|
|
237
238
|
msgid "Font awesome icon e.g. fa-tasks"
|
|
238
239
|
msgstr ""
|
|
239
240
|
|
|
240
|
-
#. module: fleet_vehicle_inspection
|
|
241
|
-
#: model_terms:ir.ui.view,arch_db:fleet_vehicle_inspection.fleet_vehicle_inspection_search_view
|
|
242
|
-
msgid "Group By"
|
|
243
|
-
msgstr ""
|
|
244
|
-
|
|
245
241
|
#. module: fleet_vehicle_inspection
|
|
246
242
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection__has_message
|
|
247
243
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__has_message
|
|
@@ -250,6 +246,7 @@ msgid "Has Message"
|
|
|
250
246
|
msgstr ""
|
|
251
247
|
|
|
252
248
|
#. module: fleet_vehicle_inspection
|
|
249
|
+
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle__id
|
|
253
250
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection__id
|
|
254
251
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__id
|
|
255
252
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__id
|
|
@@ -285,8 +282,11 @@ msgstr ""
|
|
|
285
282
|
|
|
286
283
|
#. module: fleet_vehicle_inspection
|
|
287
284
|
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection__message_has_error
|
|
285
|
+
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection__message_has_sms_error
|
|
288
286
|
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__message_has_error
|
|
287
|
+
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__message_has_sms_error
|
|
289
288
|
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__message_has_error
|
|
289
|
+
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__message_has_sms_error
|
|
290
290
|
msgid "If checked, some messages have a delivery error."
|
|
291
291
|
msgstr ""
|
|
292
292
|
|
|
@@ -609,6 +609,13 @@ msgstr ""
|
|
|
609
609
|
msgid "Result Description"
|
|
610
610
|
msgstr ""
|
|
611
611
|
|
|
612
|
+
#. module: fleet_vehicle_inspection
|
|
613
|
+
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection__message_has_sms_error
|
|
614
|
+
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__message_has_sms_error
|
|
615
|
+
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__message_has_sms_error
|
|
616
|
+
msgid "SMS Delivery error"
|
|
617
|
+
msgstr ""
|
|
618
|
+
|
|
612
619
|
#. module: fleet_vehicle_inspection
|
|
613
620
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__sequence
|
|
614
621
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line_image__sequence
|
|
@@ -705,17 +712,3 @@ msgstr ""
|
|
|
705
712
|
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection__vendor_id
|
|
706
713
|
msgid "Vendor"
|
|
707
714
|
msgstr ""
|
|
708
|
-
|
|
709
|
-
#. module: fleet_vehicle_inspection
|
|
710
|
-
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection__website_message_ids
|
|
711
|
-
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__website_message_ids
|
|
712
|
-
#: model:ir.model.fields,field_description:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__website_message_ids
|
|
713
|
-
msgid "Website Messages"
|
|
714
|
-
msgstr ""
|
|
715
|
-
|
|
716
|
-
#. module: fleet_vehicle_inspection
|
|
717
|
-
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection__website_message_ids
|
|
718
|
-
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection_item__website_message_ids
|
|
719
|
-
#: model:ir.model.fields,help:fleet_vehicle_inspection.field_fleet_vehicle_inspection_line__website_message_ids
|
|
720
|
-
msgid "Website communication history"
|
|
721
|
-
msgstr ""
|
|
@@ -16,14 +16,8 @@ class FleetVehicle(models.Model):
|
|
|
16
16
|
|
|
17
17
|
@api.depends("inspection_ids")
|
|
18
18
|
def _compute_inspection_count(self):
|
|
19
|
-
res = self.env["fleet.vehicle.inspection"].read_group(
|
|
20
|
-
domain=[("vehicle_id", "in", self.ids)],
|
|
21
|
-
fields=["vehicle_id"],
|
|
22
|
-
groupby=["vehicle_id"],
|
|
23
|
-
)
|
|
24
|
-
res_dict = {x["vehicle_id"][0]: x["vehicle_id_count"] for x in res}
|
|
25
19
|
for rec in self:
|
|
26
|
-
rec.inspection_count =
|
|
20
|
+
rec.inspection_count = len(rec.inspection_ids)
|
|
27
21
|
|
|
28
22
|
def action_view_inspection(self):
|
|
29
23
|
action = self.env["ir.actions.act_window"]._for_xml_id(
|
|
@@ -36,7 +30,5 @@ class FleetVehicle(models.Model):
|
|
|
36
30
|
"fleet_vehicle_inspection.fleet_vehicle_inspection_form_view"
|
|
37
31
|
)
|
|
38
32
|
action["views"] = [(form_view.id, "form")]
|
|
39
|
-
action["res_id"] =
|
|
40
|
-
fields.first(self.inspection_ids).id if self.inspection_ids else False
|
|
41
|
-
)
|
|
33
|
+
action["res_id"] = self.inspection_ids[:1].id
|
|
42
34
|
return action
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Copyright 2023 Tecnativa - Carolina Fernandez
|
|
3
3
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
4
4
|
|
|
5
|
-
from odoo import
|
|
5
|
+
from odoo import api, fields, models
|
|
6
6
|
from odoo.exceptions import UserError, ValidationError
|
|
7
7
|
|
|
8
8
|
|
|
@@ -67,7 +67,6 @@ class FleetVehicleInspection(models.Model):
|
|
|
67
67
|
"fleet.vehicle.inspection.line",
|
|
68
68
|
"inspection_id",
|
|
69
69
|
copy=True,
|
|
70
|
-
auto_join=True,
|
|
71
70
|
)
|
|
72
71
|
result = fields.Selection(
|
|
73
72
|
[("todo", "Todo"), ("success", "Success"), ("failure", "Failure")],
|
|
@@ -137,15 +136,19 @@ class FleetVehicleInspection(models.Model):
|
|
|
137
136
|
line.result == "todo" for line in self.mapped("inspection_line_ids")
|
|
138
137
|
):
|
|
139
138
|
raise UserError(
|
|
140
|
-
_(
|
|
139
|
+
self.env._(
|
|
140
|
+
"Inspection cannot be completed. There are uninspected items."
|
|
141
|
+
)
|
|
141
142
|
)
|
|
142
143
|
if any(rec.state not in ["draft", "cancel"] for rec in self):
|
|
143
144
|
raise ValidationError(
|
|
144
|
-
_(
|
|
145
|
+
self.env._(
|
|
146
|
+
"Only inspections in 'draft' or 'cancel' states can be confirmed"
|
|
147
|
+
)
|
|
145
148
|
)
|
|
146
149
|
if self.amount:
|
|
147
150
|
if not self.service_type_id:
|
|
148
|
-
raise ValidationError(_("Must select service type"))
|
|
151
|
+
raise ValidationError(self.env._("Must select service type"))
|
|
149
152
|
self.service_id = self.env["fleet.vehicle.log.services"].create(
|
|
150
153
|
self._prepare_fleet_vehicle_log_services_vals()
|
|
151
154
|
)
|
|
@@ -172,7 +175,7 @@ class FleetVehicleInspection(models.Model):
|
|
|
172
175
|
def _inverse_odometer(self):
|
|
173
176
|
if any(not rec.odometer for rec in self):
|
|
174
177
|
raise UserError(
|
|
175
|
-
_("Emptying the odometer value of a
|
|
178
|
+
self.env._("Emptying the odometer value of a vehicle is not allowed.")
|
|
176
179
|
)
|
|
177
180
|
for rec in self:
|
|
178
181
|
rec.odometer_id = self.env["fleet.vehicle.odometer"].create(
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
5
5
|
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
|
6
|
-
<title>
|
|
6
|
+
<title>README.rst</title>
|
|
7
7
|
<style type="text/css">
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -360,16 +360,21 @@ ul.auto-toc {
|
|
|
360
360
|
</style>
|
|
361
361
|
</head>
|
|
362
362
|
<body>
|
|
363
|
-
<div class="document"
|
|
364
|
-
<h1 class="title">Fleet Vehicle Inspection</h1>
|
|
363
|
+
<div class="document">
|
|
365
364
|
|
|
365
|
+
|
|
366
|
+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
|
|
367
|
+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
|
|
368
|
+
</a>
|
|
369
|
+
<div class="section" id="fleet-vehicle-inspection">
|
|
370
|
+
<h1>Fleet Vehicle Inspection</h1>
|
|
366
371
|
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
367
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
368
373
|
!! changes will be overwritten. !!
|
|
369
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
370
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:cd75a55e777e47ea309a052fd2daaa6965802c208cdead0f3cbfa89ddb1251ea
|
|
371
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
372
|
-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/
|
|
377
|
+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_inspection"><img alt="OCA/fleet" src="https://img.shields.io/badge/github-OCA%2Ffleet-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/fleet-19-0/fleet-19-0-fleet_vehicle_inspection"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
373
378
|
<p>This module extends the Fleet module allowing the registration of
|
|
374
379
|
vehicle entry and exit inspections. Add Cost vehicle inspections. Once
|
|
375
380
|
is confirmed, service vehicle is created. If inspection is cancelled,
|
|
@@ -390,7 +395,7 @@ service vehicle is deleted.</p>
|
|
|
390
395
|
</ul>
|
|
391
396
|
</div>
|
|
392
397
|
<div class="section" id="configuration">
|
|
393
|
-
<
|
|
398
|
+
<h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
|
|
394
399
|
<p>To configure this module, you will need to set up inspection items for
|
|
395
400
|
vehicle inspections.</p>
|
|
396
401
|
<ol class="arabic simple">
|
|
@@ -399,30 +404,30 @@ vehicle inspections.</p>
|
|
|
399
404
|
</ol>
|
|
400
405
|
</div>
|
|
401
406
|
<div class="section" id="known-issues-roadmap">
|
|
402
|
-
<
|
|
407
|
+
<h2><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h2>
|
|
403
408
|
<ul class="simple">
|
|
404
409
|
<li>Add Inspection Report</li>
|
|
405
410
|
<li>Add Video URL along with the images of the inspection lines</li>
|
|
406
411
|
</ul>
|
|
407
412
|
</div>
|
|
408
413
|
<div class="section" id="bug-tracker">
|
|
409
|
-
<
|
|
414
|
+
<h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
|
|
410
415
|
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/fleet/issues">GitHub Issues</a>.
|
|
411
416
|
In case of trouble, please check there if your issue has already been reported.
|
|
412
417
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
413
|
-
<a class="reference external" href="https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection%0Aversion:%
|
|
418
|
+
<a class="reference external" href="https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
|
414
419
|
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
|
415
420
|
</div>
|
|
416
421
|
<div class="section" id="credits">
|
|
417
|
-
<
|
|
422
|
+
<h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
|
|
418
423
|
<div class="section" id="authors">
|
|
419
|
-
<
|
|
424
|
+
<h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
|
|
420
425
|
<ul class="simple">
|
|
421
426
|
<li>Escodoo</li>
|
|
422
427
|
</ul>
|
|
423
428
|
</div>
|
|
424
429
|
<div class="section" id="contributors">
|
|
425
|
-
<
|
|
430
|
+
<h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
|
|
426
431
|
<ul class="simple">
|
|
427
432
|
<li>Marcel Savegnago <<a class="reference external" href="mailto:marcel.savegnago@escodoo.com.br">marcel.savegnago@escodoo.com.br</a>></li>
|
|
428
433
|
<li>Brian McMaster <<a class="reference external" href="mailto:brian@mcmpest.com">brian@mcmpest.com</a>></li>
|
|
@@ -434,14 +439,14 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|
|
434
439
|
</ul>
|
|
435
440
|
</div>
|
|
436
441
|
<div class="section" id="other-credits">
|
|
437
|
-
<
|
|
442
|
+
<h3><a class="toc-backref" href="#toc-entry-7">Other credits</a></h3>
|
|
438
443
|
<p>The development of this module has been financially supported by:</p>
|
|
439
444
|
<ul class="simple">
|
|
440
445
|
<li>Escodoo - <a class="reference external" href="https://www.escodoo.com.br">https://www.escodoo.com.br</a></li>
|
|
441
446
|
</ul>
|
|
442
447
|
</div>
|
|
443
448
|
<div class="section" id="maintainers">
|
|
444
|
-
<
|
|
449
|
+
<h3><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h3>
|
|
445
450
|
<p>This module is maintained by the OCA.</p>
|
|
446
451
|
<a class="reference external image-reference" href="https://odoo-community.org">
|
|
447
452
|
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
|
@@ -451,10 +456,11 @@ mission is to support the collaborative development of Odoo features and
|
|
|
451
456
|
promote its widespread use.</p>
|
|
452
457
|
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
|
453
458
|
<p><a class="reference external image-reference" href="https://github.com/marcelsavegnago"><img alt="marcelsavegnago" src="https://github.com/marcelsavegnago.png?size=40px" /></a></p>
|
|
454
|
-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/fleet/tree/
|
|
459
|
+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_inspection">OCA/fleet</a> project on GitHub.</p>
|
|
455
460
|
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
|
456
461
|
</div>
|
|
457
462
|
</div>
|
|
458
463
|
</div>
|
|
464
|
+
</div>
|
|
459
465
|
</body>
|
|
460
466
|
</html>
|
|
@@ -29,11 +29,11 @@ class TestFleetVehicleInspection(BaseCommon):
|
|
|
29
29
|
"license_plate": "TEST123",
|
|
30
30
|
}
|
|
31
31
|
)
|
|
32
|
-
cls.item_lights = cls.env.
|
|
33
|
-
"
|
|
32
|
+
cls.item_lights = cls.env["fleet.vehicle.inspection.item"].create(
|
|
33
|
+
{"name": "Lights"}
|
|
34
34
|
)
|
|
35
|
-
cls.item_mirrors = cls.env.
|
|
36
|
-
"
|
|
35
|
+
cls.item_mirrors = cls.env["fleet.vehicle.inspection.item"].create(
|
|
36
|
+
{"name": "Mirrors"}
|
|
37
37
|
)
|
|
38
38
|
cls.inspection = cls.env["fleet.vehicle.inspection"]
|
|
39
39
|
cls.inspection = cls.inspection.create(
|
|
@@ -106,76 +106,76 @@
|
|
|
106
106
|
<separator />
|
|
107
107
|
<filter
|
|
108
108
|
string="Direction IN"
|
|
109
|
-
name="
|
|
109
|
+
name="filter_direction_in"
|
|
110
110
|
domain="[('direction','=','in')]"
|
|
111
111
|
/>
|
|
112
112
|
<filter
|
|
113
113
|
string="Direction OUT"
|
|
114
|
-
name="
|
|
114
|
+
name="filter_direction_out"
|
|
115
115
|
domain="[('direction','=','out')]"
|
|
116
116
|
/>
|
|
117
117
|
<separator />
|
|
118
118
|
<filter
|
|
119
119
|
string="Inspection Not Completed"
|
|
120
|
-
name="
|
|
120
|
+
name="filter_state_draft"
|
|
121
121
|
domain="[('state','=','draft')]"
|
|
122
122
|
/>
|
|
123
123
|
<filter
|
|
124
124
|
string="Inspection Completed"
|
|
125
|
-
name="
|
|
126
|
-
domain="[('state','=','
|
|
125
|
+
name="filter_state_confirmed"
|
|
126
|
+
domain="[('state','=','confirmed')]"
|
|
127
127
|
/>
|
|
128
128
|
<filter
|
|
129
129
|
string="Inspection Canceled"
|
|
130
|
-
name="
|
|
131
|
-
domain="[('
|
|
130
|
+
name="filter_state_cancel"
|
|
131
|
+
domain="[('state','=','cancel')]"
|
|
132
132
|
/>
|
|
133
133
|
<separator />
|
|
134
134
|
<filter
|
|
135
135
|
string="Successful Inspections"
|
|
136
|
-
name="
|
|
136
|
+
name="filter_result_success"
|
|
137
137
|
domain="[('result','=','success')]"
|
|
138
138
|
/>
|
|
139
139
|
<filter
|
|
140
140
|
string="Failed Inspections"
|
|
141
|
-
name="
|
|
141
|
+
name="filter_result_failure"
|
|
142
142
|
domain="[('result','=','failure')]"
|
|
143
143
|
/>
|
|
144
|
-
<group
|
|
144
|
+
<group>
|
|
145
145
|
<filter
|
|
146
146
|
string="Vehicle"
|
|
147
|
-
name="
|
|
147
|
+
name="group_vehicle_id"
|
|
148
148
|
domain="[]"
|
|
149
149
|
context="{'group_by':'vehicle_id'}"
|
|
150
150
|
/>
|
|
151
151
|
<filter
|
|
152
152
|
string="Direction"
|
|
153
|
-
name="
|
|
153
|
+
name="group_direction"
|
|
154
154
|
domain="[]"
|
|
155
155
|
context="{'group_by':'direction'}"
|
|
156
156
|
/>
|
|
157
157
|
<filter
|
|
158
158
|
string="Inspected Date"
|
|
159
|
-
name="
|
|
159
|
+
name="group_date_inspected"
|
|
160
160
|
domain="[]"
|
|
161
161
|
context="{'group_by':'date_inspected'}"
|
|
162
162
|
/>
|
|
163
163
|
<filter
|
|
164
164
|
string="Inspector"
|
|
165
|
-
name="
|
|
165
|
+
name="group_inspected_by"
|
|
166
166
|
domain="[]"
|
|
167
167
|
context="{'group_by':'inspected_by'}"
|
|
168
168
|
/>
|
|
169
169
|
<separator />
|
|
170
170
|
<filter
|
|
171
171
|
string="Inspection State"
|
|
172
|
-
name="
|
|
172
|
+
name="group_state"
|
|
173
173
|
domain="[]"
|
|
174
174
|
context="{'group_by':'state'}"
|
|
175
175
|
/>
|
|
176
176
|
<filter
|
|
177
177
|
string="Inspection Result"
|
|
178
|
-
name="
|
|
178
|
+
name="group_result"
|
|
179
179
|
domain="[]"
|
|
180
180
|
context="{'group_by':'result'}"
|
|
181
181
|
/>
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-fleet_vehicle_inspection
|
|
3
|
-
Version:
|
|
4
|
-
Requires-
|
|
5
|
-
Requires-Dist: odoo==18.0.*
|
|
3
|
+
Version: 19.0.1.0.0.2
|
|
4
|
+
Requires-Dist: odoo==19.0.*
|
|
6
5
|
Summary: This module extends the Fleet module allowing the registration of vehicle entry and exit inspections.
|
|
7
6
|
Home-page: https://github.com/OCA/fleet
|
|
8
7
|
License: AGPL-3
|
|
@@ -10,10 +9,14 @@ Author: Escodoo,Odoo Community Association (OCA)
|
|
|
10
9
|
Author-email: support@odoo-community.org
|
|
11
10
|
Classifier: Programming Language :: Python
|
|
12
11
|
Classifier: Framework :: Odoo
|
|
13
|
-
Classifier: Framework :: Odoo ::
|
|
12
|
+
Classifier: Framework :: Odoo :: 19.0
|
|
14
13
|
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
15
14
|
Description-Content-Type: text/x-rst
|
|
16
15
|
|
|
16
|
+
.. image:: https://odoo-community.org/readme-banner-image
|
|
17
|
+
:target: https://odoo-community.org/get-involved?utm_source=readme
|
|
18
|
+
:alt: Odoo Community Association
|
|
19
|
+
|
|
17
20
|
========================
|
|
18
21
|
Fleet Vehicle Inspection
|
|
19
22
|
========================
|
|
@@ -23,23 +26,23 @@ Fleet Vehicle Inspection
|
|
|
23
26
|
!! This file is generated by oca-gen-addon-readme !!
|
|
24
27
|
!! changes will be overwritten. !!
|
|
25
28
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
26
|
-
!! source digest: sha256:
|
|
29
|
+
!! source digest: sha256:cd75a55e777e47ea309a052fd2daaa6965802c208cdead0f3cbfa89ddb1251ea
|
|
27
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
28
31
|
|
|
29
32
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
30
33
|
:target: https://odoo-community.org/page/development-status
|
|
31
34
|
:alt: Beta
|
|
32
|
-
.. |badge2| image:: https://img.shields.io/badge/
|
|
35
|
+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
|
|
33
36
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
34
37
|
:alt: License: AGPL-3
|
|
35
38
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffleet-lightgray.png?logo=github
|
|
36
|
-
:target: https://github.com/OCA/fleet/tree/
|
|
39
|
+
:target: https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_inspection
|
|
37
40
|
:alt: OCA/fleet
|
|
38
41
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
39
|
-
:target: https://translation.odoo-community.org/projects/fleet-
|
|
42
|
+
:target: https://translation.odoo-community.org/projects/fleet-19-0/fleet-19-0-fleet_vehicle_inspection
|
|
40
43
|
:alt: Translate me on Weblate
|
|
41
44
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
42
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=
|
|
45
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=19.0
|
|
43
46
|
:alt: Try me on Runboat
|
|
44
47
|
|
|
45
48
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
@@ -75,7 +78,7 @@ Bug Tracker
|
|
|
75
78
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/fleet/issues>`_.
|
|
76
79
|
In case of trouble, please check there if your issue has already been reported.
|
|
77
80
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
78
|
-
`feedback <https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection%0Aversion:%
|
|
81
|
+
`feedback <https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
79
82
|
|
|
80
83
|
Do not contact contributors directly about support or help with technical issues.
|
|
81
84
|
|
|
@@ -125,6 +128,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|
|
125
128
|
|
|
126
129
|
|maintainer-marcelsavegnago|
|
|
127
130
|
|
|
128
|
-
This module is part of the `OCA/fleet <https://github.com/OCA/fleet/tree/
|
|
131
|
+
This module is part of the `OCA/fleet <https://github.com/OCA/fleet/tree/19.0/fleet_vehicle_inspection>`_ project on GitHub.
|
|
129
132
|
|
|
130
133
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
odoo/addons/fleet_vehicle_inspection/README.rst,sha256=
|
|
1
|
+
odoo/addons/fleet_vehicle_inspection/README.rst,sha256=M1wl0KrSfwhxH_A_gYV4dL-_PQQ7nJ9iz8415ZnOmSM,4031
|
|
2
2
|
odoo/addons/fleet_vehicle_inspection/__init__.py,sha256=X9EJGOE2GtZbS0G82PtSXmWSZ_R8jEM0rlJTDliQjp4,21
|
|
3
|
-
odoo/addons/fleet_vehicle_inspection/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/fleet_vehicle_inspection/__manifest__.py,sha256=UTLoksj8Rb0I7PIzF1081vfVtDOR-3-NngOVvI_NglY,979
|
|
4
4
|
odoo/addons/fleet_vehicle_inspection/data/fleet_vehicle_inspection.xml,sha256=Pwo0VP_HujUb7GoV-Cn9eKrXEDiCj7tS3dSbqnovyFo,871
|
|
5
5
|
odoo/addons/fleet_vehicle_inspection/demo/fleet_vehicle_inspection.xml,sha256=91b8v72NyG85WbYkS4ihvVSTvALKMi_hpzlr49MMnio,3380
|
|
6
6
|
odoo/addons/fleet_vehicle_inspection/i18n/es.po,sha256=_bGxwX4iWXEBPDdkgOEjSwP9-MOPRzBpeXNIkM25d0c,38610
|
|
7
|
-
odoo/addons/fleet_vehicle_inspection/i18n/fleet_vehicle_inspection.pot,sha256=
|
|
7
|
+
odoo/addons/fleet_vehicle_inspection/i18n/fleet_vehicle_inspection.pot,sha256=i_4-SaQjaHbRwJORdopeBzzGLZSZPD54qMCB_RcxVD0,34670
|
|
8
8
|
odoo/addons/fleet_vehicle_inspection/i18n/it.po,sha256=9OQONvFRizAUMO2HqVAwOX3RwdSZp9J0OSmV0DqYLCg,38278
|
|
9
9
|
odoo/addons/fleet_vehicle_inspection/i18n/pt_BR.po,sha256=aGdx3ORm2rc2L4tgkLw4517JmJI1MNr-8ggwQjSQ1d0,38488
|
|
10
10
|
odoo/addons/fleet_vehicle_inspection/models/__init__.py,sha256=ujCpo_Dktha9ox_fD-j7XxV_RALyrx3BxGkv7TUg-sE,205
|
|
11
|
-
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle.py,sha256=
|
|
12
|
-
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle_inspection.py,sha256=
|
|
11
|
+
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle.py,sha256=N3JB_mADX_LpPMa_tPDp_wx7YmFsupOKCYNofjt8G6s,1216
|
|
12
|
+
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle_inspection.py,sha256=kozVxvhUk4STSLOMqA3YFAT9O3-ZGQ8lgWBx5Wn5Yfg,6535
|
|
13
13
|
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle_inspection_item.py,sha256=q7bmq1iuhWOd3ijh_BXe8Rfz-8vbkLsrMQjm0-F9jLg,446
|
|
14
14
|
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle_inspection_line.py,sha256=oWQ7OqXzz06yQwv2iYy4Y--dQSgRqAGfnFvtSRIDBfM,1590
|
|
15
15
|
odoo/addons/fleet_vehicle_inspection/models/fleet_vehicle_inspection_line_image.py,sha256=gZdI3YfZ2C6Uv_iqu8yq1OU_XMOs3XshxbcdE-NNTXc,645
|
|
@@ -22,14 +22,14 @@ odoo/addons/fleet_vehicle_inspection/security/ir.model.access.csv,sha256=TS87sEc
|
|
|
22
22
|
odoo/addons/fleet_vehicle_inspection/security/security.xml,sha256=7w9EK75oEmn_QdbHuLrlQsHFOzxFfjjQzzGoc5-4c8E,2090
|
|
23
23
|
odoo/addons/fleet_vehicle_inspection/static/description/banner.png,sha256=79JnvZusJn5gdi7q1pyW-clP6q0U8X2ecMGV-w-6FI0,6733
|
|
24
24
|
odoo/addons/fleet_vehicle_inspection/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
25
|
-
odoo/addons/fleet_vehicle_inspection/static/description/index.html,sha256=
|
|
25
|
+
odoo/addons/fleet_vehicle_inspection/static/description/index.html,sha256=1WZUTe4bt3SbI7wrxK1QTK_HLOR8w8cuXdNVr4d22As,14349
|
|
26
26
|
odoo/addons/fleet_vehicle_inspection/tests/__init__.py,sha256=qMKuhA9mA76GVHPltQIEXX2ldq_aKoxBZshmU30o68E,44
|
|
27
|
-
odoo/addons/fleet_vehicle_inspection/tests/test_fleet_vehicle_inspection.py,sha256=
|
|
27
|
+
odoo/addons/fleet_vehicle_inspection/tests/test_fleet_vehicle_inspection.py,sha256=dlfGXJ4o6f_ftg96OVs_ca88ogfp0ibURP_K4K8MpJs,7190
|
|
28
28
|
odoo/addons/fleet_vehicle_inspection/views/fleet_vehicle_inspection_item_views.xml,sha256=K5FR_SBCtzwSIfJn0vY1M_85o1O_cB-YoSN3I2BXvZY,2607
|
|
29
29
|
odoo/addons/fleet_vehicle_inspection/views/fleet_vehicle_inspection_line_views.xml,sha256=zzLSmwTeZXMvZLXBFoyo20Ltz8RtL2mnx-nOtm6bp90,10567
|
|
30
|
-
odoo/addons/fleet_vehicle_inspection/views/fleet_vehicle_inspection_views.xml,sha256=
|
|
30
|
+
odoo/addons/fleet_vehicle_inspection/views/fleet_vehicle_inspection_views.xml,sha256=gObSTK5wBMzMwFHzvcgTK4jsdnjp-c8lrVAGmQyf_ww,15304
|
|
31
31
|
odoo/addons/fleet_vehicle_inspection/views/fleet_vehicle_views.xml,sha256=SJf7RUWFZNB4GQQ8We-qqIH73G8xEXAfKFNE_rWbwoU,1129
|
|
32
|
-
odoo_addon_fleet_vehicle_inspection-
|
|
33
|
-
odoo_addon_fleet_vehicle_inspection-
|
|
34
|
-
odoo_addon_fleet_vehicle_inspection-
|
|
35
|
-
odoo_addon_fleet_vehicle_inspection-
|
|
32
|
+
odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info/METADATA,sha256=Pj96_syUiisfzG13fb8lsaKrmAziTGdbMQeLAiNEy1M,4627
|
|
33
|
+
odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
34
|
+
odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
35
|
+
odoo_addon_fleet_vehicle_inspection-19.0.1.0.0.2.dist-info/RECORD,,
|
|
File without changes
|