-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by ivantodorovich
- Loading branch information
Showing
29 changed files
with
2,230 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
================================= | ||
Fleet Vehicle Inspection Template | ||
================================= | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:2f79a7dc47fa29c1c8fc9a9176023fd8b3a258f0a79015a3acb4bb37bfe6f33c | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffleet-lightgray.png?logo=github | ||
:target: https://github.com/OCA/fleet/tree/16.0/fleet_vehicle_inspection_template | ||
:alt: OCA/fleet | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/fleet-16-0/fleet-16-0-fleet_vehicle_inspection_template | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/fleet&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module extends the Fleet Vehicle Inspection module allowing the create inspection templates. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you will need to set up inspection template for vehicle inspections. | ||
|
||
#. Go to Fleet > Configuration > Inspection Templates | ||
#. Create or edit inspection template | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* Add Inspection Templates by Vehicle Model | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/fleet/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 <https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection_template%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Escodoo | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Marcel Savegnago <[email protected]> | ||
|
||
Other credits | ||
~~~~~~~~~~~~~ | ||
|
||
The development of this module has been financially supported by: | ||
|
||
* Escodoo - `https://www.escodoo.com.br <https://www.escodoo.com.br>`_ | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
.. |maintainer-marcelsavegnago| image:: https://github.com/marcelsavegnago.png?size=40px | ||
:target: https://github.com/marcelsavegnago | ||
:alt: marcelsavegnago | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-marcelsavegnago| | ||
|
||
This module is part of the `OCA/fleet <https://github.com/OCA/fleet/tree/16.0/fleet_vehicle_inspection_template>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2021 to TODAY, Escodoo (https://www.escodoo.com.br) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Fleet Vehicle Inspection Template", | ||
"summary": """ | ||
This module extend module fleet_vehicle_inspection enable | ||
inspection templates feature""", | ||
"version": "16.0.1.0.0", | ||
"license": "AGPL-3", | ||
"author": "Escodoo, Odoo Community Association (OCA)", | ||
"category": "Human Resources", | ||
"maintainers": ["marcelsavegnago"], | ||
"images": ["static/description/banner.png"], | ||
"website": "https://github.com/OCA/fleet", | ||
"depends": ["fleet_vehicle_inspection"], | ||
"data": [ | ||
"views/fleet_vehicle_inspection_template_line.xml", | ||
"security/fleet_vehicle_inspection_template_line.xml", | ||
"security/fleet_vehicle_inspection_template.xml", | ||
"views/fleet_vehicle_inspection_template.xml", | ||
"views/fleet_vehicle_inspection.xml", | ||
], | ||
"demo": ["demo/fleet_vehicle_inspection_template.xml"], | ||
} |
80 changes: 80 additions & 0 deletions
80
fleet_vehicle_inspection_template/demo/fleet_vehicle_inspection_template.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2021 to TODAY, Marcel Savegnago - Escodoo | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
<odoo noupdate="1"> | ||
<!--Inspection Template--> | ||
<record | ||
model="fleet.vehicle.inspection.template" | ||
id="fleet_vehicle_inspection_template_demo_1" | ||
> | ||
<field name="name">Template 1</field> | ||
</record> | ||
<record | ||
model="fleet.vehicle.inspection.template" | ||
id="fleet_vehicle_inspection_template_demo_2" | ||
> | ||
<field name="name">Template 2</field> | ||
</record> | ||
<record | ||
model="fleet.vehicle.inspection.template" | ||
id="fleet_vehicle_inspection_template_demo_3" | ||
> | ||
<field name="name">Template 3</field> | ||
</record> | ||
<!--Lines--> | ||
<!--Inspection Template 1 - Lines--> | ||
<record | ||
model="fleet.vehicle.inspection.template.line" | ||
id="fleet_vehicle_inspection_template_line_demo_1" | ||
> | ||
<field | ||
name="inspection_template_id" | ||
ref="fleet_vehicle_inspection_template_demo_1" | ||
/> | ||
<field | ||
name="inspection_template_item_id" | ||
ref="fleet_vehicle_inspection.fleet_vehicle_inspection_item_demo_1" | ||
/> | ||
</record> | ||
<record | ||
model="fleet.vehicle.inspection.template.line" | ||
id="fleet_vehicle_inspection_template_line_demo_2" | ||
> | ||
<field | ||
name="inspection_template_id" | ||
ref="fleet_vehicle_inspection_template_demo_1" | ||
/> | ||
<field | ||
name="inspection_template_item_id" | ||
ref="fleet_vehicle_inspection.fleet_vehicle_inspection_item_demo_2" | ||
/> | ||
</record> | ||
<!--Inspection Template 2 - Lines--> | ||
<record | ||
model="fleet.vehicle.inspection.template.line" | ||
id="fleet_vehicle_inspection_template_line_demo_3" | ||
> | ||
<field | ||
name="inspection_template_id" | ||
ref="fleet_vehicle_inspection_template_demo_2" | ||
/> | ||
<field | ||
name="inspection_template_item_id" | ||
ref="fleet_vehicle_inspection.fleet_vehicle_inspection_item_demo_1" | ||
/> | ||
</record> | ||
<!--Inspection Template 3 - Lines--> | ||
<record | ||
model="fleet.vehicle.inspection.template.line" | ||
id="fleet_vehicle_inspection_template_line_demo_4" | ||
> | ||
<field | ||
name="inspection_template_id" | ||
ref="fleet_vehicle_inspection_template_demo_3" | ||
/> | ||
<field | ||
name="inspection_template_item_id" | ||
ref="fleet_vehicle_inspection.fleet_vehicle_inspection_item_demo_2" | ||
/> | ||
</record> | ||
</odoo> |
Oops, something went wrong.