Skip to content

Commit

Permalink
[17.0][MIG] Helpdesk management SLA module
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-tsd committed Dec 20, 2024
1 parent 4ab2ed2 commit 290b65a
Show file tree
Hide file tree
Showing 26 changed files with 2,683 additions and 0 deletions.
101 changes: 101 additions & 0 deletions helpdesk_mgmt_sla/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
===================
Helpdesk Ticket SLA
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:116a87d45869f7b5ab9828c9e900cc42006af21ca37b381f0194bfeee58ac20f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fhelpdesk-lightgray.png?logo=github
:target: https://github.com/OCA/helpdesk/tree/14.0/helpdesk_mgmt_sla
:alt: OCA/helpdesk
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/helpdesk-14-0/helpdesk-14-0-helpdesk_mgmt_sla
: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/helpdesk&target_branch=14.0
:alt: Try me on Runboat

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

This module adds SLA funcionality in Helpdesk module.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

#. Allow SLA for a Helpdesk's Team
#. Set a resource calendar

Allow SLA
~~~~~~~~~~~~~~~

#. Go to Helpdesk > Configuration > SLA.
#. Edit or create a new SLA.
#. Check Allow SLA option to allow SLA for that team.
#. Select a days or hours for that SLA.

Usage
=====

#. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets dashboard.
#. In the Kanban view, you can see datetime in two colors: Green and Red. If is green, SLA is ok, if is red, SLA is wrong.

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

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

* GARCO Consulting

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

* `GARCO Consulting <https://www.garcoconsulting.es>`_:

* Héctor Garrido
* Bojan Anchev <[email protected]>

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.

This module is part of the `OCA/helpdesk <https://github.com/OCA/helpdesk/tree/14.0/helpdesk_mgmt_sla>`_ 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 helpdesk_mgmt_sla/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions helpdesk_mgmt_sla/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2020 GARCO Consulting <www.garcoconsulting.es>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Helpdesk Ticket SLA",
"summary": "Add SLA to the tickets for Helpdesk Management.",
"author": "GARCO Consulting, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/helpdesk",
"license": "AGPL-3",
"category": "After-Sales",
"version": "17.0.1.0.0",
"depends": ["base", "helpdesk_mgmt", "resource"],
"data": [
"data/helpdesk_sla_cron.xml",
"security/ir.model.access.csv",
"views/helpdesk_sla_views.xml",
"views/helpdesk_ticket_views.xml",
"views/helpdesk_ticket_team_views.xml",
],
"demo": ["demo/helpdesk_mgmt_sla_demo.xml"],
}
14 changes: 14 additions & 0 deletions helpdesk_mgmt_sla/data/helpdesk_sla_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding='UTF-8' ?>
<odoo noupdate="1">
<record model="ir.cron" id="contract_cron_alert">
<field name="name">Generate Helpdesk SLA alerts from cron</field>
<field name="model_id" ref="model_helpdesk_sla" />
<field name="state">code</field>
<field name="code">model.check_sla()</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">5</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall" />
</record>
</odoo>
14 changes: 14 additions & 0 deletions helpdesk_mgmt_sla/demo/helpdesk_mgmt_sla_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="0">
<record id="helpdesk_mgmt.helpdesk_team_2" model="helpdesk.ticket.team">
<field name="use_sla" eval="True" />
</record>
<record id="sla_1" model="helpdesk.sla">
<field name="name">General SLA</field>
<field
name="team_ids"
eval="[(6,0,[ref('helpdesk_mgmt.helpdesk_team_2')])]"
/>
<field name="hours">2</field>
</record>
</odoo>
Loading

0 comments on commit 290b65a

Please sign in to comment.