Skip to content

Commit

Permalink
Merge PR #1108 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed Jul 13, 2023
2 parents 102d1ca + 897900d commit 3967537
Show file tree
Hide file tree
Showing 42 changed files with 4,258 additions and 0 deletions.
115 changes: 115 additions & 0 deletions fieldservice_change_management/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
=================================
Field Service - Change Management
=================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Ffield--service-lightgray.png?logo=github
:target: https://github.com/OCA/field-service/tree/14.0/fieldservice_change_management
:alt: OCA/field-service
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/field-service-14-0/field-service-14-0-fieldservice_change_management
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/264/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds change logs to the Field Service Location. Change logs are
used to track changes at a location. Example could be structural changes or
configuration changes.

**Table of contents**

.. contents::
:local:

Installation
============

Either install the module from Apps or via the Field Service settings.

Configuration
=============

Users with Change Log Manager access can configure via the Configuration Menu in the Change Log app.
* Open the Change Logs app.
* Go to Configuration menu.
* Configure Stages, Tags, Types, and Impacts according to your needs.

Usage
=====

To use this module, you need to:

* Open a FSM Location
* Click on ‘Change Log’ smart button
* Create or view Change Logs
* You can print change logs from the location, location list or change log list.
* Users with Change Log Manager access will have access to all change logs via the menu on the main dashboard.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/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/field-service/issues/new?body=module:%20fieldservice_change_management%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
~~~~~~~

* Pavlov Media

Contributors
~~~~~~~~~~~~

* Patrick Wilson <[email protected]>
* Murtaza Mithaiwala <[email protected]>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Pavlov Media <https://pavlovmedia.com>

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-patrickrwilson| image:: https://github.com/patrickrwilson.png?size=40px
:target: https://github.com/patrickrwilson
:alt: patrickrwilson

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-patrickrwilson|

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/14.0/fieldservice_change_management>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions fieldservice_change_management/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (c) 2020 Pavlov Media <https://www.pavlovmedia.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
33 changes: 33 additions & 0 deletions fieldservice_change_management/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright (c) 2020 Pavlov Media <https://www.pavlovmedia.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service - Change Management",
"summary": "Manage Change Logs on Locations",
"author": "Pavlov Media, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"category": "Extra Tools",
"version": "15.0.1.0.0",
"license": "AGPL-3",
"depends": [
"fieldservice",
],
"data": [
"security/security.xml",
"security/ir.model.access.csv",
"data/ir_sequence.xml",
"data/change_log_impact.xml",
"data/change_log_stage.xml",
"data/change_log_type.xml",
"report/change_log_reports.xml",
"views/change_log.xml",
"views/change_log_impact.xml",
"views/change_log_stage.xml",
"views/change_log_tags.xml",
"views/change_log_type.xml",
"views/fsm_location.xml",
],
"application": True,
"development_status": "Beta",
"maintainers": ["patrickrwilson"],
}
20 changes: 20 additions & 0 deletions fieldservice_change_management/data/change_log_impact.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<odoo noupdate="1">
<record id="change_log_low" model="change.log.impact">
<field name="name">Low</field>
<field name="description">Low Impact</field>
<field name="log_impact_sequence">0</field>
</record>

<record id="change_log_medium" model="change.log.impact">
<field name="name">Medium</field>
<field name="description">Medium Impact</field>
<field name="log_impact_sequence">1</field>
</record>

<record id="change_log_high" model="change.log.impact">
<field name="name">High</field>
<field name="description">High Impact</field>
<field name="log_impact_sequence">1</field>
</record>

</odoo>
17 changes: 17 additions & 0 deletions fieldservice_change_management/data/change_log_stage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<odoo noupdate="1">
<record id="change_log_stage_pending" model="change.log.stage">
<field name="name">Pending</field>
<field name="description">Change Log is being built and pending.</field>
<field name="stage_sequence">0</field>
<field name="fold">False</field>
<field name="is_close">False</field>
</record>

<record id="change_log_stage_active" model="change.log.stage">
<field name="name">Active</field>
<field name="description">Change Log is live.</field>
<field name="stage_sequence">1</field>
<field name="fold">False</field>
<field name="is_close">False</field>
</record>
</odoo>
14 changes: 14 additions & 0 deletions fieldservice_change_management/data/change_log_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<odoo noupdate="1">
<record id="change_log_type_1" model="change.log.type">
<field name="name">Sample Type 1</field>
<field name="description">Sample Type 1</field>
<field name="log_type_sequence">0</field>
</record>

<record id="change_log_type_2" model="change.log.type">
<field name="name">Sample Type 2</field>
<field name="description">Sample Type 2</field>
<field name="log_type_sequence">1</field>
</record>

</odoo>
8 changes: 8 additions & 0 deletions fieldservice_change_management/data/ir_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<odoo>
<record model="ir.sequence" id="change_log_seq">
<field name="name">Change Log Sequence</field>
<field name="code">change.log</field>
<field name="prefix">0</field>
<field name="padding">1</field>
</record>
</odoo>
Loading

0 comments on commit 3967537

Please sign in to comment.