8000 [IMP] Fleet: Update accidents · odoo/documentation@07be325 · GitHub
[go: up one dir, main page]

Skip to content

Commit 07be325

Browse files
committed
[IMP] Fleet: Update accident 10000 s
closes #13461 X-original-commit: 496df1f Signed-off-by: Lara Martini (larm) <larm@odoo.com>
1 parent 45b616d commit 07be325

File tree

8 files changed

+32
-36
lines changed

8 files changed

+32
-36
lines changed

content/applications/hr/fleet/accidents.rst

Lines changed: 32 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ Accidents
55
When managing a fleet, accidents are inevitable. Tracking accidents is crucial for understanding
66
vehicle maintenance costs and identifying safe drivers.
77

8-
Odoo's *Fleet* app offers multiple ways to track accidents. Below are step-by-step instructions for
9-
only **one** method to monitor accidents and repair costs.
8+
Odoo's **Fleet** app offers multiple ways of tracking accidents. Below are step-by-step instructions
9+
for one possible method to monitor accidents and repair costs.
1010

1111
Structure
1212
=========
1313

14-
For this example, to track accidents, two :ref:`service types <fleet/new-type>` are created:
15-
`Accident - Driver's Fault` and `Accident - No Fault`.
14+
For this use case, go to :menuselection:`Fleet app --> Fleet --> Services`. On the :ref:`service
15+
form <fleet/service-form>`, two :ref:`service types <fleet/new-type>` are created: `Accident -
16+
Driver's Fault` and `Accident - No Fault`.
1617

17-
This tracks various repairs associated with accidents, organized by who was at fault.
18+
This setup records repairs associated with accidents and organizes them by fault.
1819

1920
When an accident occurs, a service record is created. The specific repairs needed for the accident
2021
are logged in the *Description* of the service record, and the details about the accident are logged
@@ -27,18 +28,18 @@ driver, or cost.
2728
To manage accidents, the creation of service records is **required**.
2829

2930
Refer to the :doc:`service` documentation for detailed instructions on creating service records
30-
in Odoo's *Fleet* app.
31+
in Odoo's **Fleet** app.
3132

3233
Log accidents and repairs
3334
=========================
3435

35-
To log an accident, and initiate the repair process, the first step is to :ref:`create a service
36+
To log an accident and initiate the repair process, the first step is to :ref:`create a service
3637
record <fleet/service-form>` detailing the specific repairs needed.
3738

3839
.. note::
3940
Some accidents require multiple repairs with several different vendors. For these scenarios, a
4041
separate service record is needed for each vendor performing repairs. To keep records organized,
41-
it is recommended to keep the *Notes* field identical, as well as attaching the same important
42+
it is recommended to keep the *Notes* field identical, and attach the same important
4243
documentation, such as a police report.
4344

4445
Navigate to :menuselection:`Fleet app --> Fleet --> Services` to view the main :guilabel:`Services`
@@ -48,8 +49,8 @@ Enter the following information on the form:
4849

4950
- :guilabel:`Description`: enter the description of repairs needed to fully repair the vehicle, such
5051
as `Bodywork`, `Windshield Replacement`, or `Replacement Bumper, Tires, and Windows`.
51-
- :guilabel:`Service Type`: for this example, select either `Accident - Driver's Fault` or
52-
`Accident - No Fault`, depending on the situation.
52+
- :guilabel:`Service Type`: for this example, select either `Accident - Driver's Fault` or `Accident
53+
- No Fault`, depending on the situation.
5354

5455
When entering either of these two :guilabel:`Service Types` for the first time, type in the new
5556
service type, then click :guilabel:`Create (new service type)`. A :guilabel:`Create Service Type`
@@ -90,13 +91,12 @@ the desired record, and click :guilabel:`Open` to upload the file.
9091
documents.
EDBE
9192

9293
.. image:: accidents/service-form.png
93-
:align: center
9494
:alt: Enter the information for an accident repair.
9595

9696
Service stages
9797
==============
9898

99-
In Odoo's *Fleet* app, there are four default service stages:
99+
In Odoo's **Fleet** app, there are four default service stages:
100100

101101
.. tabs::
102102

@@ -133,7 +133,6 @@ Services`. Next, click on the individual service record to open the detailed ser
133133
desired stage in the top-right corner, above the service form, to change the status.
134134

135135
.. image:: accidents/running.png
136-
:align: center
137136
:alt: The stages as seen from the service form.
138137

139138
.. _fleet/Kanban:
@@ -151,7 +150,6 @@ services appear in a Kanban view, organized by their respective :guilabel:`Statu
151150
Drag-and-drop the service record to the desired stage.
152151

153152
.. image:: accidents/drag-n-drop.png
154-
:align: center
155153
:alt: The Kanban view of stages, with a card being dragged and dropped to the Running stage.
156154

157155
Accident reporting
@@ -174,22 +172,22 @@ Navigate to :menuselection:`Fleet app --> Fleet --> Services` to view the :guila
174172
dashboard. All service records are displayed in a :icon:`oi-view-list` :guilabel:`(List)` view,
175173
grouped alphabetically, by :guilabel:`Service Type`.
176174

177-
The two service types created for accident tracking appear in the list: :guilabel:`Accident -
178-
Driver Fault` and :guilabel:`Accident - No Fault`.
175+
The two service types created for accident tracking appear in the list: :guilabel:`Accident - Driver
176+
Fault` and :guilabel:`Accident - No Fault`.
179177

180178
Each grouping displays the number of records within each type, and lists the individual records
181179
beneath each grouping title.
182180

183181
.. example::
184-
In this example, there are six accidents where the driver was at fault, and four accidents that
185-
were not the driver's fault. This dashboard also displays the estimated total :guilabel:`Cost`
186-
for all the accidents in each group.
182+
In this example, there are three accidents where the driver was at fault, and one accident that
183+
was not the driver's fault. This dashboard also displays the estimated total :guilabel:`Cost` for
184+
all the accidents in each group.
187185

188-
An estimated `$19,164.81` dollars are for driver-caused accident repairs, and an estimated
189-
`$2,548.21` dollars are for no-fault accidents.
186+
An estimated `$3,284.00` dollars are costs from driver-caused accident repairs. The no-fault
187+
accident has no cost associated with it, since the repair has not been completed, and no estimate
188+
exists yet.
190189

191190
.. image:: accidents/group-accidents.png
192-
:align: center
193191
:alt: Accident services, with the total costs highlighted.
194192

195193
.. note::
@@ -208,8 +206,8 @@ Analysis` report. This report displays a :icon:`fa-bar-chart` :guilabel:`(Bar C
208206
(:guilabel:`Date : (year)`), by default. The :guilabel:`Sum`, represented by a gray dotted line, is
209207
the combined total of both the :guilabel:`Contract` and :guilabel:`Service` costs.
210208

211-
To view the total cost by vehicle, click the :icon:`fa-caret-down` :guilabel:`(down arrow)` icon at
212-
the right of the search bar, revealing a drop-down menu. Click :guilabel:`Vehicle` in the
209+
To view the total cost by vehicle, click the :icon:`fa-caret-down` :guilabel:`(Toggle Search Bar)`
210+
icon at the right of the search bar, revealing a drop-down menu. Click :guilabel:`Vehicle` in the
213211
:icon:`oi-group` :guilabel:`Group By` column, and the data is organized by vehicle.
214212

215213
This displays the true cost for each vehicle, including both the contract cost (such as the monthly
@@ -218,7 +216,6 @@ data popover window, which displays the vehicle name and the total cost. This al
218216
complete view of the vehicle cost.
219217

220218
.. image:: accidents/total-costs.png
221-
:align: center
222219
:alt: The Cost Analysis report, displaying total costs by vehicle.
223220

224221
To view the individual cost details for both contract costs and repairs, click the
@@ -227,7 +224,6 @@ Analysis` dashboard. This displays each vehicle on a separate line, and displays
227224
:guilabel:`Contract` cost and :guilabel:`Service` cost, as well as the :guilabel:`Total` cost.
228225

229226
.. image:: accidents/fleet-pivot.png
230-
:align: center
231227
:alt: The Cost Analysis report, displaying the contract and service costs separately, as well as
232228
the total.
233229

@@ -244,10 +240,10 @@ records in the :guilabel:`New` and :guilabel:`Running` stages can be time-saving
244240
large number of records in the *Services* dashboard.
245241

246242
Navigate to :menuselection:`Fleet app --> Fleet --> Services`, where all service requests are
247-
organized by :guilabel:`Service Type`. Next, click the :icon:`fa-caret-down` :guilabel:`(down
248-
arrow)` icon at the right of the search bar, revealing a drop-down menu. Click :guilabel:`Add Custom
249-
Filter` in the :icon:`fa-filter` :guilabel:`Filters` column, and a :guilabel:`Add Custom Filter`
250-
pop-up window appears.
243+
organized by :guilabel:`Service Type`. Next, click the :icon:`fa-caret-down` :guilabel:`(Toggle
244+
Search Panel)` icon at the right of the search bar, revealing a drop-down menu. Click :guilabel:`Add
245+
Custom Filter` in the :icon:`fa-filter` :guilabel:`Filters` column, and a :guilabel:`Add Custom
246+
Filter` pop-up window appears.
251247

252248
Three drop-down fields need to be configured on the pop-up window.
253249

@@ -266,15 +262,15 @@ the other fields as-is.
266262
Click the :guilabel:`Add` button at the bottom to add the new custom filter.
267263

268264
.. image:: accidents/custom-filters.png
269-
:align: center
270265
:alt: The filter settings to be added to only display new and running services.
271266

272267
This slight modification only presents services in the :guilabel:`New` and :guilabel:`Running`
273268
stages. This is a helpful report for a company managing a high number of repairs at any given time.
274269

275270
To have this report appear as the default report when opening the :guilabel:`Services` dashboard,
276-
click the :icon:`fa-caret-down` :guilabel:`(down arrow)` icon at the far-right of the search bar.
277-
Next, click :guilabel:`Save current search`, beneath the :icon:`fa-star` :guilabel:`Favorites`
278-
column, which reveals another drop-down column beneath it. Tick the checkbox beside
279-
:guilabel:`Default Filter`, then click :guilabel:`Save`. Then, this customized :guilabel:`Services`
280-
dashboard appears, by default, anytime the :guilabel:`Services` dashboard is accessed.
271+
click the :icon:`fa-caret-down` :guilabel:`(Toggle Search Panel)` icon at the far-right of the
272+
search bar. Next, click :guilabel:`Save current search`, beneath the :icon:`fa-star`
273+
:guilabel:`Favorites` column, which reveals another drop-down column beneath it. Tick the checkbox
274+
beside :guilabel:`Default Filter`, then click :guilabel:`Save`. Then, this customized
275+
:guilabel:`Services` dashboard appears, by default, any time the :guilabel:`Services` dashboard is
276+
accessed.
Loading
Loading
Loading
Loading
-961 Bytes
Loading
Loading
Loading

0 commit comments

Comments
 (0)
0