Helpdesk Ticket Close Inactive

helpdesk_ticket_close_inactive
REPOSITORY
REPOSITORYOCA/helpdesk
GIT
GIThttps://github.com/OCA/helpdesk.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/helpdesk/tree/18.0/helpdesk_ticket_close_inactive
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYHelpdesk
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, DoDo, Jan Suhr, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/helpdesk
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/helpdesk:
    - helpdesk_mgmt
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds an option to configure a cron job that automatically closes inactive helpdesk tickets after a specified number of days, set in the helpdesk team settings. Sends notification emails to the customer (partner) and assigned team members, providing a warning after an initial period of inactivity and a final closure notification when the maximum inactivity period is reached.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
inherit_view_project helpdesk.ticket.team.form.inherit helpdesk.ticket.team field Inherits helpdesk_mgmt.view_helpdesk_team_form
Models touched (1)

New fields (8)
  • close_inactive_mail_template_id Many2one → mail.template
    default=_default_closing_email_template help='Template to be sent when a ticket is automatically closed. Leave empty to close the ticket silently without sending a notification email.' string='Closing email template' args: 'mail.template'
  • close_inactive_tickets Boolean
    default=False help='This option enables a cronjob to automatically close inactive tickets.' string='Automatic closure of inactive tickets'
  • closing_ticket_stage Many2one → helpdesk.ticket.stage
    help='Set this stage for autoclosing tickets' string='Closing Stage' args: 'helpdesk.ticket.stage'
  • inactive_tickets_day_limit_closing Integer
    default=14 help='Number of days of inactivity after which the ticket is automatically closed. Must be greater than 0.' required=True
  • inactive_tickets_day_limit_warning Integer
    default=7 help='Number of days of inactivity before a warning email is sent. Set to 0 to disable the warning phase entirely.' required=True string='Inactive days limit before send a warning'
  • ticket_category_ids Many2many → helpdesk.ticket.category
    comodel_name='helpdesk.ticket.category' help='The cronjob will check for inactivity in tickets that belong to these categories. Leave empty to apply to all categories.' relation='closing_ticket_type_filter' string='Ticket Category'
  • ticket_stage_ids Many2many → helpdesk.ticket.stage
    comodel_name='helpdesk.ticket.stage' help='The cronjob will check for inactivity in tickets that are in these stages.' relation='helpdesk_team_stage_closing_ticket_filter_rel' string='Ticket Stage'
  • warning_inactive_mail_template_id Many2one → mail.template
    default=_default_warning_email_template help='Template to be sent as an inactivity warning. Required when the warning day limit is greater than 0.' string='Inactivity warning email template' args: 'mail.template'
Public methods (1)
  • close_team_inactive_tickets(self)
REPOSITORY
REPOSITORYOCA/helpdesk
GIT
GIThttps://github.com/OCA/helpdesk.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/helpdesk/tree/17.0/helpdesk_ticket_close_inactive
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYHelpdesk
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Antoni Marroig Campomar, r.perez, Patryk Pyczko, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/helpdesk
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/helpdesk:
    - helpdesk_mgmt
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds an option to configure a cron job that automatically closes inactive helpdesk tickets after a specified number of days, set in the helpdesk team settings. Sends notification emails to the customer (partner) and assigned team members, providing a warning after an initial period of inactivity and a final closure notification when the maximum inactivity period is reached.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
inherit_view_project helpdesk.ticket.team.form.inherit helpdesk.ticket.team field Inherits helpdesk_mgmt.view_helpdesk_team_form
Models touched (1)

New fields (8)
  • close_inactive_mail_template_id Many2one → mail.template
    default=_default_closing_email_template help='Template to be sent on inactive ticket closing notification' string='Closing email template' args: 'mail.template'
  • close_inactive_tickets Boolean
    default=False help='This option enables a cronjob to automatically close inactive tickets.' string='Automatic closure of inactive tickets'
  • closing_ticket_stage Many2one → helpdesk.ticket.stage
    help='Set this stage for autoclosing tickets' string='Closing Stage' args: 'helpdesk.ticket.stage'
  • inactive_tickets_day_limit_closing Integer
    default=14 help='Day limit for automatic ticket closing due to inactivity.' required=True
  • inactive_tickets_day_limit_warning Integer
    default=7 help='Day limit for email notification of upcoming ticket closure due to inactivity.' required=True string='Inactive days limit before send a warning'
  • ticket_category_ids Many2many → helpdesk.ticket.category
    comodel_name='helpdesk.ticket.category' help='The cronjob will check for inactivity in tickets that belongs to this categories.' relation='closing_ticket_type_filter' string='Ticket Category'
  • ticket_stage_ids Many2many → helpdesk.ticket.stage
    comodel_name='helpdesk.ticket.stage' help='The cronjob will check for inactivity in tickets that are in these stages.' relation='helpdesk_team_stage_closing_ticket_filter_rel' string='Ticket Stage'
  • warning_inactive_mail_template_id Many2one → mail.template
    default=_default_warning_email_template help='Template to be sent on inactive ticket closing notification' string='Inactivity warning email template' args: 'mail.template'
Public methods (1)
  • close_team_inactive_tickets(self)
REPOSITORY
REPOSITORYOCA/helpdesk
GIT
GIThttps://github.com/OCA/helpdesk.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/helpdesk/tree/16.0/helpdesk_ticket_close_inactive
VERSION
VERSION 1.1.2
CATEGORY
CATEGORYHelpdesk
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Miquel Alzanillas, DoDo, mpascual
WEBSITE
WEBSITEhttps://github.com/OCA/helpdesk
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:12:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/helpdesk:
    - helpdesk_mgmt
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Adds an option to configure a cron job that automatically closes inactive helpdesk tickets after a specified number of days, set in the helpdesk team settings. Sends notification emails to the customer (partner) and assigned team members, providing a warning after an initial period of inactivity and a final closure notification when the maximum inactivity period is reached.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
inherit_view_project helpdesk.ticket.team.form.inherit helpdesk.ticket.team field Inherits helpdesk_mgmt.view_helpdesk_team_form
Models touched (1)

New fields (8)
  • close_inactive_mail_template_id Many2one → mail.template
    default=_default_closing_email_template help='Template to be sent on inactive ticket closing notification' string='Closing email template' args: 'mail.template'
  • close_inactive_tickets Boolean
    default=False help='This option enables a cronjob to automatically close inactive tickets.' string='Automatic closure of inactive tickets'
  • closing_ticket_stage Many2one → helpdesk.ticket.stage
    help='Set this stage for autoclosing tickets' string='Closing Stage' args: 'helpdesk.ticket.stage'
  • inactive_tickets_day_limit_closing Integer
    default=14 help='Day limit for automatic ticket closing due to inactivity.' required=1
  • inactive_tickets_day_limit_warning Integer
    default=7 help='Day limit for email notification of upcoming ticket closure due to inactivity.' required=1 string='Inactive days limit before send a warning'
  • ticket_category_ids Many2many → helpdesk.ticket.category
    comodel_name='helpdesk.ticket.category' help='The cronjob will check for inactivity in tickets that belongs to this categories.' relation='closing_ticket_type_filter' string='Ticket Category'
  • ticket_stage_ids Many2many → helpdesk.ticket.stage
    comodel_name='helpdesk.ticket.stage' help='The cronjob will check for inactivity in tickets that are in these stages.' relation='helpdesk_team_stage_closing_ticket_filter_rel' string='Ticket Stage'
  • warning_inactive_mail_template_id Many2one → mail.template
    default=_default_warning_email_template help='Template to be sent on inactive ticket closing notification' string='Inactivity warning email template' args: 'mail.template'
Public methods (1)
  • close_team_inactive_tickets(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/helpdesk
PULL REQUEST
PULL REQUEST[19.0][MIG] helpdesk_ticket_close_inactive: Migration to 19.0 (#1043)