Skip to content

Commit

Permalink
Merge PR #113 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by ivantodorovich
  • Loading branch information
OCA-git-bot committed Jul 11, 2023
2 parents f5f3a95 + 945613d commit e6cf1c9
Show file tree
Hide file tree
Showing 27 changed files with 1,623 additions and 0 deletions.
101 changes: 101 additions & 0 deletions fleet_vehicle_inspection_template/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
=================================
Fleet Vehicle Inspection Template
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/14.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-14-0/fleet-14-0-fleet_vehicle_inspection_template
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/291/14.0
:alt: Try me on Runbot

|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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/fleet/issues/new?body=module:%20fleet_vehicle_inspection_template%0Aversion:%2014.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/14.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": "15.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 e6cf1c9

Please sign in to comment.