Files
helpdesk-tools/helpdesk_portal_ticket_list_defaults
Stéphan Sainléger b61f34f700 [NEW] helpdesk_portal_ticket_list_defaults: create add-on
this add-on comes from add-on helpdesk_portal_ticket_custom in v16.0
which has been refactorized.
2026-03-17 21:23:49 +01:00
..

==================================== Helpdesk Portal Ticket List Defaults

Customize default filter, sort and groupby for the helpdesk portal ticket list.

This module changes the default behavior of the ticket list in the portal:

  • Default filter: Shows only open tickets (instead of all tickets)
  • Default groupby: Groups tickets by stage (instead of no grouping)
  • Default sort: By date (unchanged, but now overridable)

It also adds an "Open" filter option that wasn't available in the base module.

Extending

Other modules can easily override the defaults by inheriting the controller and overriding the dedicated methods:

from odoo.addons.helpdesk_portal_ticket_list_defaults.controllers.main import (
    CustomerPortalHelpdeskDefaults,
)


class MyCustomDefaults(CustomerPortalHelpdeskDefaults):

    def _ticket_get_default_filterby(self):
        return "all"  # Show all tickets by default

    def _ticket_get_default_groupby(self):
        return "category"  # Group by category instead of stage

Installation

Use Odoo normal module installation procedure to install helpdesk_portal_ticket_list_defaults.

Known issues / Roadmap

None yet.

Bug Tracker

Bugs are tracked on our issues website <https://git.elabore.coop/Elabore/helpdesk-tools/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.

Credits

Contributors

  • Stéphan Sainléger

Funders

The development of this module has been financially supported by:

Maintainer

This module is maintained by Elabore.