diff --git a/helpdesk_mgmt/README.rst b/helpdesk_mgmt/README.rst index 0ec2fb8310..93313d65b5 100644 --- a/helpdesk_mgmt/README.rst +++ b/helpdesk_mgmt/README.rst @@ -17,13 +17,13 @@ Helpdesk Management :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/16.0/helpdesk_mgmt + :target: https://github.com/OCA/helpdesk/tree/17.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-16-0/helpdesk-16-0-helpdesk_mgmt + :target: https://translation.odoo-community.org/projects/helpdesk-17-0/helpdesk-17-0-helpdesk_mgmt :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=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/helpdesk&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -40,123 +40,133 @@ 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. +1. Edit or create new channels. +2. Edit or create new categories. +3. Edit or create new stages. +4. Edit or create new teams. +5. 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. +1. Go to *Helpdesk > Configuration > Channels* to edit or create new + channels. +2. Edit or create a channel. +3. Set the name for the channel. +4. You can also Activate or Deactivate channels. -.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/16.0/helpdesk_mgmt/static/description/Channels.PNG - :alt: Channels - :width: 600 px +|image1| 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. +1. Go to *Helpdesk > Configuration > Categories* to edit or create new + categories. +2. Edit or create a new category. +3. Set the name for the category. +4. You can also Activate or Deactivate categories. -.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/16.0/helpdesk_mgmt/static/description/Categories.PNG - :alt: Categories - :width: 600 px +|image2| 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. +1. Go to *Helpdesk > Configuration > Stages* to edit or create new + stages. +2. Edit or create a new stage. +3. Set the name for the stage. +4. Set the sequence order for the stage. +5. You can select an Email template. +6. Mark the Unattended checkbox if the stage contains unattended + tickets. +7. Mark the Closed checkbox if the stage contains closed tickets. +8. You can add a description for the stage. +9. You can also Activate or Deactivate stages. -.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/16.0/helpdesk_mgmt/static/description/Stages.PNG - :alt: Stages - :width: 600 px +|image3| -You can also sort the stage sequence if you move up or down the stages in the list view. +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. +1. Go to *Helpdesk > Configuration > Teams* to edit or create new teams. +2. Edit or create a new team. +3. Set the name for the team. +4. Add the teams members. +5. You can also Activate or Deactivate teams. -.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/16.0/helpdesk_mgmt/static/description/Teams.PNG - :alt: Teams - :width: 600 px +|image4| 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/16.0/helpdesk_mgmt/static/description/Tags.PNG - :alt: Ticket Tags - :width: 600 px +1. Go to *Helpdesk > Configuration > Ticket Tags* to edit or create new + tags. +2. Edit or create a new tag. +3. Set the name for the tag. +4. Set the color index for the tag. +5. You can also Activate or Deactivate tags. +|image5| Permissions -~~~~~~~~~~~ +----------- + +There are restrictions to read tickets according to the user's +permissions set in Helpdesk. -There are restrictions to read tickets according to the user's permissions set in Helpdesk. +1. *User: Personal tickets*: User is able to see their tickets (those + that are assigned to their user) or those that are no team nor user + is assigned. +2. *User: Team tickets*: User is able to see all the tickets that are + assigned to the teams to which he/she belongs or the tickets that are + not assigned to any team nor user. +3. *User*: User is able to see all the tickets. -#. *User: Personal tickets*: User is able to see their tickets (those that are assigned to their user) or those that are no team nor user is assigned. -#. *User: Team tickets*: User is able to see all the tickets that are assigned to the teams to which he/she belongs or the tickets that are not assigned to any team nor user. -#. *User*: User is able to see all the tickets. +.. |image1| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Channels.PNG +.. |image2| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Categories.PNG +.. |image3| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Stages.PNG +.. |image4| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Teams.PNG +.. |image5| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Tags.PNG 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. +1. Go to *Helpdesk* or *Helpdesk > Dashboard* to see the tickets + dashboard +2. 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/16.0/helpdesk_mgmt/static/description/Tickets_Kanban.PNG - :alt: Kanban view - :width: 600 px +|image1| 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. +1. Press *Create* button or click on the plus icon at the top of the + column of a stage. +2. Set the name or subject for the ticket. +3. Select the team that will manage the ticket. +4. You can select a user to assign the ticket. +5. Set the priority of the ticket. +6. Select the partner, and you can also set the partner name and email. +7. You can select a category and set tags for the ticket. +8. Add a description. +9. You can also attach files to the ticket. + +|image2| -.. figure:: https://raw.githubusercontent.com/OCA/helpdesk/16.0/helpdesk_mgmt/static/description/Tickets01.PNG - :alt: Create a new ticket - :width: 600 px +.. |image1| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Tickets_Kanban.PNG +.. |image2| image:: https://raw.githubusercontent.com/OCA/helpdesk/17.0/helpdesk_mgmt/static/description/Tickets01.PNG Known issues / Roadmap ====================== -* Add a tour feature similar to what the ``project`` module defines to discover projects / tasks. -* Update portal tests defined in ``tests/test_portal.py`` to rely on tour specs (in JS) - in order to replicate the navigation behavior of portal users. +- Add a tour feature similar to what the ``project`` module defines to + discover projects / tasks. +- Update portal tests defined in ``tests/test_portal.py`` to rely on + tour specs (in JS) in order to replicate the navigation behavior of + portal users. Bug Tracker =========== @@ -164,7 +174,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -172,7 +182,7 @@ Credits ======= Authors -~~~~~~~ +------- * AdaptiveCity * Tecnativa @@ -183,57 +193,57 @@ Authors * SDi Soluciones Contributors -~~~~~~~~~~~~ +------------ -* `Domatix `_: +- `Domatix `__: - * Carlos Martínez - * Catalin Airimitoaie - * Álvaro López - * Samuel Calvo + - Carlos Martínez + - Catalin Airimitoaie + - Álvaro López + - Samuel Calvo -* `Adaptive City `_: +- `Adaptive City `__: - * Aitor Bouzas + - Aitor Bouzas -* `SDi Soluciones, S.L. `_: +- `SDi Soluciones, S.L. `__: - * Oscar Soto - * Jorge Luis Quinteros + - Oscar Soto + - Jorge Luis Quinteros -* `C2i Change 2 improve `_: +- `C2i Change 2 improve `__: - * Eduardo Magdalena + - Eduardo Magdalena -* `Factor Libre `_: +- `Factor Libre `__: - * María Alhambra - * Daniel Cano + - María Alhambra + - Daniel Cano -* `Tecnativa `_: +- `Tecnativa `__: - * Pedro M. Baeza - * Víctor Martínez + - Pedro M. Baeza + - Víctor Martínez -* `ID42 Sistemas `_: +- `ID42 Sistemas `__: - * Marcel Savegnago - * Eduardo Aparício + - Marcel Savegnago + - Eduardo Aparício -* `Obertix `_: +- `Obertix `__: - * Vicent Cubells + - Vicent Cubells -* `Solvos `_: +- `Solvos `__: - * David Alonso + - David Alonso -* `XCG Consulting `_: +- `XCG Consulting `__: - * Houzéfa Abbasbhay + - Houzéfa Abbasbhay Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -245,6 +255,6 @@ 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 `_ project on GitHub. +This module is part of the `OCA/helpdesk `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/helpdesk_mgmt/controllers/myaccount.py b/helpdesk_mgmt/controllers/myaccount.py index 1eca8c0109..2b3fac4231 100644 --- a/helpdesk_mgmt/controllers/myaccount.py +++ b/helpdesk_mgmt/controllers/myaccount.py @@ -9,7 +9,8 @@ from odoo.osv.expression import AND, OR from odoo.tools import groupby as groupbyelem -from odoo.addons.portal.controllers.portal import CustomerPortal, pager as portal_pager +from odoo.addons.portal.controllers.portal import CustomerPortal +from odoo.addons.portal.controllers.portal import pager as portal_pager class CustomerPortalHelpdesk(CustomerPortal): @@ -45,7 +46,7 @@ def portal_my_tickets( search=None, search_in=None, groupby=None, - **kw + **kw, ): HelpdeskTicket = request.env["helpdesk.ticket"] # Avoid error if the user does not have access. diff --git a/helpdesk_mgmt/models/helpdesk_ticket_category.py b/helpdesk_mgmt/models/helpdesk_ticket_category.py index f6c93e3067..c497b45418 100644 --- a/helpdesk_mgmt/models/helpdesk_ticket_category.py +++ b/helpdesk_mgmt/models/helpdesk_ticket_category.py @@ -2,7 +2,6 @@ class HelpdeskCategory(models.Model): - _name = "helpdesk.ticket.category" _description = "Helpdesk Ticket Category" _order = "sequence, id" diff --git a/helpdesk_mgmt/models/helpdesk_ticket_channel.py b/helpdesk_mgmt/models/helpdesk_ticket_channel.py index 287e2028e6..f9e844154b 100644 --- a/helpdesk_mgmt/models/helpdesk_ticket_channel.py +++ b/helpdesk_mgmt/models/helpdesk_ticket_channel.py @@ -2,7 +2,6 @@ class HelpdeskTicketChannel(models.Model): - _name = "helpdesk.ticket.channel" _description = "Helpdesk Ticket Channel" _order = "sequence, id" diff --git a/helpdesk_mgmt/models/helpdesk_ticket_team.py b/helpdesk_mgmt/models/helpdesk_ticket_team.py index 7f141d33eb..e6a33eb733 100644 --- a/helpdesk_mgmt/models/helpdesk_ticket_team.py +++ b/helpdesk_mgmt/models/helpdesk_ticket_team.py @@ -3,7 +3,6 @@ class HelpdeskTeam(models.Model): - _name = "helpdesk.ticket.team" _description = "Helpdesk Ticket Team" _inherit = ["mail.thread", "mail.alias.mixin"] diff --git a/helpdesk_mgmt/models/res_partner.py b/helpdesk_mgmt/models/res_partner.py index f5aceed362..8d96c5a8ee 100644 --- a/helpdesk_mgmt/models/res_partner.py +++ b/helpdesk_mgmt/models/res_partner.py @@ -33,7 +33,7 @@ def _compute_helpdesk_ticket_count(self): ) count_active = record.helpdesk_ticket_active_count count = record.helpdesk_ticket_count - record.helpdesk_ticket_count_string = "{} / {}".format(count_active, count) + record.helpdesk_ticket_count_string = f"{count_active} / {count}" def action_view_helpdesk_tickets(self): return { diff --git a/helpdesk_mgmt/pyproject.toml b/helpdesk_mgmt/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/helpdesk_mgmt/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/helpdesk_mgmt/readme/CONFIGURE.md b/helpdesk_mgmt/readme/CONFIGURE.md new file mode 100644 index 0000000000..5a1b50415c --- /dev/null +++ b/helpdesk_mgmt/readme/CONFIGURE.md @@ -0,0 +1,81 @@ +To configure this module, you need to: + +1. Edit or create new channels. +2. Edit or create new categories. +3. Edit or create new stages. +4. Edit or create new teams. +5. Edit or create new tags. + +## Channels + +1. Go to *Helpdesk \> Configuration \> Channels* to edit or create new + channels. +2. Edit or create a channel. +3. Set the name for the channel. +4. You can also Activate or Deactivate channels. + +![](../static/description/Channels.PNG) + +## Categories + +1. Go to *Helpdesk \> Configuration \> Categories* to edit or create + new categories. +2. Edit or create a new category. +3. Set the name for the category. +4. You can also Activate or Deactivate categories. + +![](../static/description/Categories.PNG) + +## Stages + +1. Go to *Helpdesk \> Configuration \> Stages* to edit or create new + stages. +2. Edit or create a new stage. +3. Set the name for the stage. +4. Set the sequence order for the stage. +5. You can select an Email template. +6. Mark the Unattended checkbox if the stage contains unattended + tickets. +7. Mark the Closed checkbox if the stage contains closed tickets. +8. You can add a description for the stage. +9. You can also Activate or Deactivate stages. + +![](../static/description/Stages.PNG) + +You can also sort the stage sequence if you move up or down the stages +in the list view. + +## Teams + +1. Go to *Helpdesk \> Configuration \> Teams* to edit or create new + teams. +2. Edit or create a new team. +3. Set the name for the team. +4. Add the teams members. +5. You can also Activate or Deactivate teams. + +![](../static/description/Teams.PNG) + +## Tags + +1. Go to *Helpdesk \> Configuration \> Ticket Tags* to edit or create + new tags. +2. Edit or create a new tag. +3. Set the name for the tag. +4. Set the color index for the tag. +5. You can also Activate or Deactivate tags. + +![](../static/description/Tags.PNG) + +## Permissions + +There are restrictions to read tickets according to the user's +permissions set in Helpdesk. + +1. *User: Personal tickets*: User is able to see their tickets (those + that are assigned to their user) or those that are no team nor user + is assigned. +2. *User: Team tickets*: User is able to see all the tickets that are + assigned to the teams to which he/she belongs or the tickets that + are not assigned to any team nor user. +3. *User*: User is able to see all the tickets. diff --git a/helpdesk_mgmt/readme/CONFIGURE.rst b/helpdesk_mgmt/readme/CONFIGURE.rst deleted file mode 100644 index a99b90ab25..0000000000 --- a/helpdesk_mgmt/readme/CONFIGURE.rst +++ /dev/null @@ -1,86 +0,0 @@ -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:: ../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:: ../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:: ../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:: ../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:: ../static/description/Tags.PNG - :alt: Ticket Tags - :width: 600 px - - -Permissions -~~~~~~~~~~~ - -There are restrictions to read tickets according to the user's permissions set in Helpdesk. - -#. *User: Personal tickets*: User is able to see their tickets (those that are assigned to their user) or those that are no team nor user is assigned. -#. *User: Team tickets*: User is able to see all the tickets that are assigned to the teams to which he/she belongs or the tickets that are not assigned to any team nor user. -#. *User*: User is able to see all the tickets. diff --git a/helpdesk_mgmt/readme/CONTRIBUTORS.md b/helpdesk_mgmt/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..2dbd7d417d --- /dev/null +++ b/helpdesk_mgmt/readme/CONTRIBUTORS.md @@ -0,0 +1,27 @@ +- [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 \<\> +- [Factor Libre](https://factorlibre.com): + - María Alhambra + - Daniel Cano +- [Tecnativa](https://www.tecnativa.com): + - Pedro M. Baeza + - Víctor Martínez +- [ID42 Sistemas](https://www.id42.com.br): + - Marcel Savegnago + - Eduardo Aparício +- [Obertix](https://www.obertix.net): + - Vicent Cubells +- [Solvos](https://www.solvos.es): + - David Alonso +- [XCG Consulting](https://xcg-consulting.fr): + - Houzéfa Abbasbhay diff --git a/helpdesk_mgmt/readme/CONTRIBUTORS.rst b/helpdesk_mgmt/readme/CONTRIBUTORS.rst deleted file mode 100644 index 15e2effd37..0000000000 --- a/helpdesk_mgmt/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,46 +0,0 @@ -* `Domatix `_: - - * Carlos Martínez - * Catalin Airimitoaie - * Álvaro López - * Samuel Calvo - -* `Adaptive City `_: - - * Aitor Bouzas - -* `SDi Soluciones, S.L. `_: - - * Oscar Soto - * Jorge Luis Quinteros - -* `C2i Change 2 improve `_: - - * Eduardo Magdalena - -* `Factor Libre `_: - - * María Alhambra - * Daniel Cano - -* `Tecnativa `_: - - * Pedro M. Baeza - * Víctor Martínez - -* `ID42 Sistemas `_: - - * Marcel Savegnago - * Eduardo Aparício - -* `Obertix `_: - - * Vicent Cubells - -* `Solvos `_: - - * David Alonso - -* `XCG Consulting `_: - - * Houzéfa Abbasbhay diff --git a/helpdesk_mgmt/readme/DESCRIPTION.rst b/helpdesk_mgmt/readme/DESCRIPTION.md similarity index 100% rename from helpdesk_mgmt/readme/DESCRIPTION.rst rename to helpdesk_mgmt/readme/DESCRIPTION.md diff --git a/helpdesk_mgmt/readme/ROADMAP.md b/helpdesk_mgmt/readme/ROADMAP.md new file mode 100644 index 0000000000..708b3dea6d --- /dev/null +++ b/helpdesk_mgmt/readme/ROADMAP.md @@ -0,0 +1,5 @@ +- Add a tour feature similar to what the `project` module defines to + discover projects / tasks. +- Update portal tests defined in `tests/test_portal.py` to rely on tour + specs (in JS) in order to replicate the navigation behavior of portal + users. diff --git a/helpdesk_mgmt/readme/ROADMAP.rst b/helpdesk_mgmt/readme/ROADMAP.rst deleted file mode 100644 index fa0e695c08..0000000000 --- a/helpdesk_mgmt/readme/ROADMAP.rst +++ /dev/null @@ -1,3 +0,0 @@ -* Add a tour feature similar to what the ``project`` module defines to discover projects / tasks. -* Update portal tests defined in ``tests/test_portal.py`` to rely on tour specs (in JS) - in order to replicate the navigation behavior of portal users. diff --git a/helpdesk_mgmt/readme/USAGE.md b/helpdesk_mgmt/readme/USAGE.md new file mode 100644 index 0000000000..b5c32931a8 --- /dev/null +++ b/helpdesk_mgmt/readme/USAGE.md @@ -0,0 +1,21 @@ +1. Go to *Helpdesk* or *Helpdesk \> Dashboard* to see the tickets + dashboard +2. In the Kanban view, click in the kanban card of a team to see their + tickets and create new ones. + +![](../static/description/Tickets_Kanban.PNG) + +To create a new ticket from the kanban view: + +1. Press *Create* button or click on the plus icon at the top of the + column of a stage. +2. Set the name or subject for the ticket. +3. Select the team that will manage the ticket. +4. You can select a user to assign the ticket. +5. Set the priority of the ticket. +6. Select the partner, and you can also set the partner name and email. +7. You can select a category and set tags for the ticket. +8. Add a description. +9. You can also attach files to the ticket. + +![](../static/description/Tickets01.PNG) diff --git a/helpdesk_mgmt/readme/USAGE.rst b/helpdesk_mgmt/readme/USAGE.rst deleted file mode 100644 index 9f22d3ff0e..0000000000 --- a/helpdesk_mgmt/readme/USAGE.rst +++ /dev/null @@ -1,22 +0,0 @@ -#. 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:: ../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:: ../static/description/Tickets01.PNG - :alt: Create a new ticket - :width: 600 px diff --git a/helpdesk_mgmt/tests/test_res_partner.py b/helpdesk_mgmt/tests/test_res_partner.py index 99dde5c96c..8a349c9402 100644 --- a/helpdesk_mgmt/tests/test_res_partner.py +++ b/helpdesk_mgmt/tests/test_res_partner.py @@ -21,8 +21,8 @@ def setUp(self): self.tickets.append( self.ticket_obj.create( { - "name": "Nice ticket {}".format(i), - "description": "Nice ticket {} description".format(i), + "name": f"Nice ticket {i}", + "description": f"Nice ticket {i} description", } ) ) diff --git a/pandoc-3.1.11-1-amd64.deb b/pandoc-3.1.11-1-amd64.deb new file mode 100644 index 0000000000..9e5a1ea57b Binary files /dev/null and b/pandoc-3.1.11-1-amd64.deb differ