Skip to content

Commit

Permalink
Merge PR #151 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by ivantodorovich
  • Loading branch information
OCA-git-bot committed Sep 16, 2024
2 parents 65ea09f + bd6f397 commit b5c0c11
Show file tree
Hide file tree
Showing 29 changed files with 2,230 additions and 0 deletions.
104 changes: 104 additions & 0 deletions fleet_vehicle_inspection_template/README.rst
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 <marcel.savegnago@escodoo.com.br>

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.
1 change: 1 addition & 0 deletions fleet_vehicle_inspection_template/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
25 changes: 25 additions & 0 deletions fleet_vehicle_inspection_template/__manifest__.py
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"],
}
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>
Loading

0 comments on commit b5c0c11

Please sign in to comment.