Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
97ec9d1
[ADD] Initial commit
aitorbouzas May 27, 2019
b48a75c
[ADD]base model ticket_tag
May 27, 2019
83ec6f3
chg: removed readme !minor
May 27, 2019
b6bab47
[IMP] helpdesk: Several things:
JorgeQuinteros May 27, 2019
5283e93
[ADD] helpdesk.ticket.channel model (#13)
May 27, 2019
e9813cc
[ADD] Stage model and data (#16)
carlos-domatix May 27, 2019
f717378
[ADD] Readme (#18)
emagdalenaC2i May 27, 2019
d2423a5
[ADD] Security and multicompany
aitorbouzas May 28, 2019
6a39027
[IMP] helpdesk: Icon + application
emagdalenaC2i May 28, 2019
3821fdc
[FIX] Edit manifest authors
May 28, 2019
5c03fa8
Ticket#19
May 28, 2019
be38430
[FIX+IMP] helpdesk: 6 things
aitorbouzas May 28, 2019
b9a6db9
[ADD] Portal (#42)
carlos-domatix May 28, 2019
ebdc352
[ADD] functionality of datetime fields (#40)
oscars8a May 28, 2019
164cb76
[FIX+IMP] helpdesk: 4 things:
aitorbouzas May 29, 2019
3804cd1
[ADD] Helpdesk: Añadida plantilla y función de envío de mail. (#48)
DaniKL May 29, 2019
c135817
[IMP+FIX] helpdesk: 3 imps + 2 fixes
aitorbouzas May 29, 2019
591dd9d
[ADD] Ticket Search View (#55)
carlos-domatix May 29, 2019
a1630f3
[IMP] helpdesk: Automatic partner_name and partner_email (#54) + Add …
aitorbouzas May 29, 2019
89a1edf
Add images (#3)
emagdalenaC2i Jun 6, 2019
5d34a91
[ADD] Dashboard view and partner smartbutton (#2)
carlos-domatix May 30, 2019
7b7b637
[ADD] Mail integration methods (#5)
Jun 17, 2019
9235e1d
Added early translation (#8)
DaniKL Jun 17, 2019
b3d63e9
[FIX] Minor changes. (#6)
alvaro-domatix Jun 21, 2019
866ac53
[IMP] helpdesk_mgmt: Fine-tuning for merging
pedrobaeza Jun 27, 2019
137b028
[ADD] Ticket Copy Method
DaniKL Jul 1, 2019
d1c45c5
[UPD] README.rst
OCA-git-bot Jul 3, 2019
96265a5
helpdesk_mgmt 11.0.1.0.1
OCA-git-bot Jul 3, 2019
5b89d74
[UPD] Attachment domain update
AlhMaria Jul 4, 2019
06fdd8a
helpdesk_mgmt 11.0.1.0.2
OCA-git-bot Jul 4, 2019
d2eb6ec
Multi company behaviour fix.
alvaro-domatix Jul 5, 2019
3de3220
helpdesk_mgmt 11.0.1.1.0
OCA-git-bot Jul 5, 2019
fa223dc
[UPD] Update helpdesk_mgmt.pot
oca-travis Jul 14, 2019
04daf68
Added translation using Weblate (Portuguese (Brazil))
eduaparicio Jul 14, 2019
1c5b513
Translated using Weblate (Portuguese (Brazil))
eduaparicio Jul 14, 2019
c257fba
[MIG] helpdesk_mgmt: Migration to 12.0
Jul 16, 2019
7f709e8
[UPD] Update helpdesk_mgmt.pot
oca-travis Aug 1, 2019
3398821
[UPD] README.rst
OCA-git-bot Aug 1, 2019
dab4132
fix ticket assignment mail subject in 12.0
emagdalenaC2i Aug 1, 2019
43f95cf
[UPD] Update helpdesk_mgmt.pot
oca-travis Aug 1, 2019
d001f63
helpdesk_mgmt 12.0.1.1.0
OCA-git-bot Aug 1, 2019
64765f8
Update translation files
oca-transbot Aug 1, 2019
aad307f
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
62f624f
[FIX] helpdesk_mgmt : fix call to ticket list rendering on portal + lint
luffah Jul 18, 2019
0d21559
[IMP] helpdesk_mgmt : use uniform rendering of tickets, project and t…
luffah Jul 18, 2019
2ff43bc
[IMP] helpdesk_mgmt : ticket close action was crashing, casting *_id …
luffah Jul 24, 2019
340d159
helpdesk_mgmt 12.0.1.2.0
OCA-git-bot Aug 5, 2019
d53c453
[IMP] helpdesk_mgmt: at creation last_stage_update use actual now ins…
luffah Aug 6, 2019
748bfb6
helpdesk_mgmt 12.0.1.2.1
OCA-git-bot Aug 6, 2019
d4d6417
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 8, 2019
46b856e
[IMP] helpdesk_mgmt: Update module logo (#68)
marcelsavegnago Aug 8, 2019
b7e2f7d
[IMP] helpdesk_mgmt : make portal ticket list head (title + breadcrum…
luffah Aug 7, 2019
d920141
helpdesk_mgmt 12.0.1.3.0
OCA-git-bot Aug 12, 2019
a54fe3f
[12.0][FIX] Security fixes
OCA-git-bot Aug 21, 2019
cc7b935
helpdesk_mgmt 12.0.1.4.0
OCA-git-bot Aug 22, 2019
93f2484
[IMP] helpdesk_mgmt: Ticket creation from portal
samuel-domatix Aug 21, 2019
99acb41
[UPD] Update helpdesk_mgmt.pot
oca-travis Aug 22, 2019
8f3fc99
helpdesk_mgmt 12.0.1.5.0
OCA-git-bot Aug 22, 2019
f4bee17
Update translation files
oca-transbot Aug 22, 2019
e96bc29
Translated using Weblate (Portuguese (Brazil))
Aug 26, 2019
7311615
[12.0][ADD] Email templates for closed tickets and changed state
OCA-git-bot Aug 26, 2019
d7737ab
[UPD] README.rst
OCA-git-bot Sep 4, 2019
0fb5fc0
[FIX] readonly create_date field
miguel-domatix Sep 10, 2019
e23faf3
helpdesk_mgmt 12.0.1.6.0
OCA-git-bot Sep 11, 2019
f122869
Kanban ticket view improvement
samuel-domatix Sep 16, 2019
27786d0
[UPD] Update helpdesk_mgmt.pot
oca-travis Sep 17, 2019
a88ba18
[UPD] README.rst
OCA-git-bot Sep 17, 2019
d430d73
helpdesk_mgmt 12.0.1.7.0
OCA-git-bot Sep 17, 2019
139809c
Update translation files
oca-transbot Sep 17, 2019
720d9d4
[UPD] Update helpdesk_mgmt.pot
oca-travis Sep 17, 2019
c5b92b8
helpdesk_mgmt 12.0.1.8.0
OCA-git-bot Sep 17, 2019
46bb5d2
Translated using Weblate (Portuguese (Brazil))
Sep 17, 2019
6b3eb6a
Update translation files
oca-transbot Sep 17, 2019
9483c38
Kanban view error fixed
samuel-domatix Sep 19, 2019
249f04b
Requested changes
samuel-domatix Sep 19, 2019
a76d3d5
[UPD] Update helpdesk_mgmt.pot
oca-travis Sep 20, 2019
1b19e16
helpdesk_mgmt 12.0.1.9.0
OCA-git-bot Sep 20, 2019
d51eb44
Update translation files
oca-transbot Sep 20, 2019
2f4d488
Translated using Weblate (Portuguese (Brazil))
Sep 23, 2019
4c8c7ac
[FIX] message_subscribe_user > message_subscribe
marcelsavegnago Sep 28, 2019
c420d13
helpdesk_mgmt 12.0.1.9.1
OCA-git-bot Oct 15, 2019
7302bdf
Translated using Weblate (Spanish)
DarioLodeiros Oct 15, 2019
0ced02e
[IMP] helpdesk_mgmt: black, isort
emagdalenaC2i Oct 17, 2019
e13b20b
[MIG] helpdesk_mgmt: Migration to 13.0
emagdalenaC2i Oct 17, 2019
09634b9
[FIX] pre-commit
emagdalenaC2i Oct 18, 2019
4a82a6c
Update helpdesk_ticket.py
emagdalenaC2i Oct 18, 2019
de750e5
[MIG] Attachment Widget and _track_template refact
DarioLodeiros Oct 21, 2019
ea23ac5
[MIG] _company_default_get deprecated and track_template
DarioLodeiros Oct 21, 2019
dc837e7
[IMP] Form Team View and Add Team Leader Field
DarioLodeiros Oct 21, 2019
0b78e78
[ADD] alias mixin model to team
DarioLodeiros Oct 21, 2019
f5835f7
Merge pull request #1 from DarioLodeiros/13.0-mig-helpdesk_mgmt
emagdalenaC2i Oct 22, 2019
0bff3c0
TODO
angelmoya Mar 25, 2020
54fb301
WIP descripción técnica de requisitos
angelmoya Mar 25, 2020
2caf448
IMP documentación PR
angelmoya Mar 25, 2020
38cfd8d
FIX crear rama
angelmoya Mar 25, 2020
c70f6de
Merge pull request #1 from angelmoya/webinar_20200325_01
angelmoya Mar 25, 2020
7aebb4d
Ejercicio Finalizado Webinar 25/03/2002
ProcessControl-RCC Mar 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
known_third_party=
known_third_party=openerp,werkzeug
219 changes: 219 additions & 0 deletions helpdesk_mgmt/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
===================
Helpdesk Management
===================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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/12.0/helpdesk_mgmt
:alt: OCA/helpdesk
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/helpdesk-12-0/helpdesk-12-0-helpdesk_mgmt
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/282/12.0
:alt: Try me on Runbot

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

This module adds Helpdesk functionality in Odoo.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:
#. Edit or create new channels.
#. Edit or create new categories.
#. Edit or create new stages.
#. Edit or create new teams.
#. Edit or create new tags.

Channels
~~~~~~~~

#. Go to *Helpdesk > Configuration > Channels* to edit or create new channels.
#. Edit or create a channel.
#. Set the name for the channel.
#. You can also Activate or Deactivate channels.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Channels.PNG
:alt: Channels
:width: 600 px

Categories
~~~~~~~~~~

#. Go to *Helpdesk > Configuration > Categories* to edit or create new categories.
#. Edit or create a new category.
#. Set the name for the category.
#. You can also Activate or Deactivate categories.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Categories.PNG
:alt: Categories
:width: 600 px

Stages
~~~~~~

#. Go to *Helpdesk > Configuration > Stages* to edit or create new stages.
#. Edit or create a new stage.
#. Set the name for the stage.
#. Set the sequence order for the stage.
#. You can select an Email template.
#. Mark the Unattended checkbox if the stage contains unattended tickets.
#. Mark the Closed checkbox if the stage contains closed tickets.
#. You can add a description for the stage.
#. You can also Activate or Deactivate stages.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Stages.PNG
:alt: Stages
:width: 600 px

You can also sort the stage sequence if you move up or down the stages in the list view.

Teams
~~~~~

#. Go to *Helpdesk > Configuration > Teams* to edit or create new teams.
#. Edit or create a new team.
#. Set the name for the team.
#. Add the teams members.
#. You can also Activate or Deactivate teams.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Teams.PNG
:alt: Teams
:width: 600 px

Tags
~~~~

#. Go to *Helpdesk > Configuration > Ticket Tags* to edit or create new tags.
#. Edit or create a new tag.
#. Set the name for the tag.
#. Set the color index for the tag.
#. You can also Activate or Deactivate tags.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Tags.PNG
:alt: Ticket Tags
:width: 600 px

Usage
=====

#. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets dashboard
#. In the Kanban view, click in the kanban card of a team to see their tickets and create new ones.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Tickets_Kanban.PNG
:alt: Kanban view
:width: 600 px

To create a new ticket from the kanban view:

#. Press *Create* button or click on the plus icon at the top of the column of a stage.
#. Set the name or subject for the ticket.
#. Select the team that will manage the ticket.
#. You can select a user to assign the ticket.
#. Set the priority of the ticket.
#. Select the partner, and you can also set the partner name and email.
#. You can select a category and set tags for the ticket.
#. Add a description.
#. You can also attach files to the ticket.

.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/12.0/helpdesk_mgmt/static/description/Tickets01.PNG
:alt: Create a new ticket
:width: 600 px

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/helpdesk/issues/new?body=module:%20helpdesk_mgmt%0Aversion:%2012.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
~~~~~~~

* AdaptiveCity
* C2i Change 2 Improve
* Domatix
* Factor Libre
* SDi Soluciones

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

* `Domatix <https://www.domatix.com>`_:

* Carlos Martínez
* Catalin Airimitoaie
* Álvaro López
* Samuel Calvo

* `Adaptive City <https://www.adaptivecity.com>`_:

* Aitor Bouzas

* `SDi Soluciones, S.L. <https://www.sdi.es>`_:

* Oscar Soto
* Jorge Luis Quinteros

* `C2i Change 2 improve <http://www.c2i.es>`_:

* Eduardo Magdalena <emagdalena@c2i.es>

* `Factor Libre <https://factorlibre.com>`_:

* María Alhambra
* Daniel Cano

* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza

* `ID42 Sistemas <https://www.id42.com.br>`_:

* Marcel Savegnago
* Eduardo Aparício

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/12.0/helpdesk_mgmt>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions helpdesk_mgmt/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from . import controllers
from . import models
from . import tests
37 changes: 37 additions & 0 deletions helpdesk_mgmt/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Helpdesk Management",
"summary": """
Helpdesk""",
"version": "13.0.1.0.0",
"license": "AGPL-3",
"category": "After-Sales",
"author": "AdaptiveCity, "
"C2i Change 2 Improve, "
"Domatix, "
"Factor Libre, "
"SDi Soluciones, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/helpdesk",
"depends": ["mail", "portal"],
"data": [
"data/helpdesk_data.xml",
"security/helpdesk_security.xml",
"security/ir.model.access.csv",
"views/res_partner_view.xml",
"views/helpdesk_ticket_templates.xml",
"views/helpdesk_ticket_menu.xml",
"views/helpdesk_ticket_team_view.xml",
"views/helpdesk_ticket_stage_view.xml",
"views/helpdesk_ticket_category_view.xml",
"views/helpdesk_ticket_channel_view.xml",
"views/helpdesk_ticket_tag_view.xml",
"views/helpdesk_ticket_view.xml",
"views/helpdesk_dashboard_view.xml",
],
"demo": ["demo/helpdesk_demo.xml"],
"development_status": "Alpha",
"application": True,
"installable": True,
}
2 changes: 2 additions & 0 deletions helpdesk_mgmt/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import main
from . import myaccount
74 changes: 74 additions & 0 deletions helpdesk_mgmt/controllers/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import logging
import werkzeug
import odoo.http as http
import base64
from odoo.http import request
_logger = logging.getLogger(__name__)


class HelpdeskTicketController(http.Controller):
@http.route("/ticket/close", type="http", auth="user")
def support_ticket_close(self, **kw):
"""Close the support ticket"""
values = {}
for field_name, field_value in kw.items():
if field_name.endswith("_id"):
values[field_name] = int(field_value)
else:
values[field_name] = field_value
ticket = (
http.request.env["helpdesk.ticket"]
.with_user()
.search([("id", "=", values["ticket_id"])])
)
ticket.stage_id = values.get("stage_id")

return werkzeug.utils.redirect("/my/ticket/" + str(ticket.id))

@http.route("/new/ticket", type="http", auth="user", website=True)
def create_new_ticket(self, **kw):
categories = http.request.env["helpdesk.ticket.category"].search(
[("active", "=", True)]
)
email = http.request.env.user.email
name = http.request.env.user.name
return http.request.render(
"helpdesk_mgmt.portal_create_ticket",
{"categories": categories, "email": email, "name": name},
)

@http.route("/submitted/ticket", type="http", auth="user", website=True, csrf=True)
def submit_ticket(self, **kw):
vals = {
"partner_name": kw.get("name"),
"company_id": http.request.env.user.company_id.id,
"category_id": kw.get("category"),
"partner_email": kw.get("email"),
"description": kw.get("description"),
"name": kw.get("subject"),
"attachment_ids": False,
"channel_id": request.env["helpdesk.ticket.channel"]
.with_user()
.search([("name", "=", "Web")])
.id,
"partner_id": request.env["res.partner"]
.with_user()
.search([("name", "=", kw.get("name")), ("email", "=", kw.get("email"))])
.id,
}
new_ticket = request.env["helpdesk.ticket"].with_user().create(vals)
new_ticket.message_subscribe(partner_ids=request.env.user.partner_id.ids)
if kw.get("attachment"):
for c_file in request.httprequest.files.getlist("attachment"):
data = c_file.read()
if c_file.filename:
request.env["ir.attachment"].with_user().create(
{
"name": c_file.filename,
"datas": base64.b64encode(data),
"datas_fname": c_file.filename,
"res_model": "helpdesk.ticket",
"res_id": new_ticket.id,
}
)
return werkzeug.utils.redirect("/my/tickets")
Loading