-
-
Notifications
You must be signed in to change notification settings - Fork 406
[17.0][MIG] helpdesk_mgmt_sla: Migration to 17.0 #826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hoangtrann
wants to merge
33
commits into
OCA:17.0
Choose a base branch
from
hoangtrann:17.0-mig-helpdesk_mgmt_sla
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d7ce086
[13.0][ADD] helpdesk_mgmt_sla 13.0.1.1.0
hgarridoco 5f887d0
[SQUASH] 13.0-helpdesk_mgmt_sla
c17ba41
[UPD] Update helpdesk_mgmt_sla.pot
oca-travis c478535
[UPD] README.rst
OCA-git-bot da79c2a
Translated using Weblate (Spanish)
neo-oien 0412656
[IMP] helpdesk_mgmt_sla: black, isort, prettier
marcelsavegnago e32eac0
[MIG] helpdesk_mgmt_sla: Migration to 14.0
marcelsavegnago 243fe4d
[UPD] Update helpdesk_mgmt_sla.pot
oca-travis c4b79ed
[UPD] README.rst
OCA-git-bot 8c1328e
Added translation using Weblate (Spanish (Argentina))
ibuioli 4a70f4a
Translated using Weblate (Spanish (Argentina))
ibuioli a2e99df
[IMP] helpdesk_mgmt_sla: implement more advanced rules
BojanOD 582941f
[UPD] Update helpdesk_mgmt_sla.pot
a6a5846
[UPD] README.rst
OCA-git-bot 665f354
helpdesk_mgmt_sla 14.0.2.0.0
OCA-git-bot 64fede5
Update translation files
oca-transbot f257f97
Translated using Weblate (Spanish (Argentina))
ibuioli 7cdcf50
[UPD] README.rst
OCA-git-bot edb7855
Translated using Weblate (Italian)
mymage 36d9f92
[UPD] Update helpdesk_mgmt_sla.pot
76a240e
*: pylint fixes
etobella b1f4fcc
[UPD] Update helpdesk_mgmt_sla.pot
a27efc8
[BOT] post-merge updates
OCA-git-bot b5165e6
Update translation files
weblate 9cb26f9
[MIG] helpdesk_mgmt_sla : Migration to 15.0.1.0.0
8c66c2b
[MIG] helpdesk_mgmt_sla: Migration to 16.0.1.0.0
LorenzoC0 9be75fc
FIX helpdesk_mgmt_sla restoring domain for resource_calendar_id
eLBati 8edd183
[UPD] Update helpdesk_mgmt_sla.pot
c30e349
[BOT] post-merge updates
OCA-git-bot 93d5944
Translated using Weblate (Italian)
mymage ef6adfb
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago b675f9d
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago 7a95550
[MIG] helpdesk_mgmt_sla: Migration to 17.0
hoangtrann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,103 @@ | ||
| =================== | ||
| Helpdesk Ticket SLA | ||
| =================== | ||
|
|
||
| .. | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! This file is generated by oca-gen-addon-readme !! | ||
| !! changes will be overwritten. !! | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
| !! source digest: sha256:e30592b7a2dc3f2304c020e36250ae633c7348237dd1aaa9193ca28485d0c78d | ||
| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
|
|
||
| .. |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/17.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-17-0/helpdesk-17-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=17.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: | ||
|
|
||
| 1. Allow SLA for a Helpdesk's Team | ||
| 2. Set a resource calendar | ||
|
|
||
| Allow SLA | ||
| --------- | ||
|
|
||
| 1. Go to Helpdesk > Configuration > SLA. | ||
| 2. Edit or create a new SLA. | ||
| 3. Check Allow SLA option to allow SLA for that team. | ||
| 4. Select a days or hours for that SLA. | ||
|
|
||
| Usage | ||
| ===== | ||
|
|
||
| 1. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets | ||
| dashboard. | ||
| 2. 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:%2017.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 <bojan.anchev@camptocamp.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. | ||
|
|
||
| This module is part of the `OCA/helpdesk <https://github.com/OCA/helpdesk/tree/17.0/helpdesk_mgmt_sla>`_ project on GitHub. | ||
|
|
||
| You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains hidden or 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 hidden or 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,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"], | ||
| } |
This file contains hidden or 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,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> |
This file contains hidden or 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,14 @@ | ||||||
| <?xml version="1.0" encoding="utf-8" ?> | ||||||
| <odoo noupdate="0"> | ||||||
| <record id="helpdesk_mgmt.helpdesk_team_2" model="helpdesk.ticket.team"> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| <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> | ||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.