Repository
OCA/helpdesk · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.19 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/helpdesk
Last tracking update
2026-08-07 08:42:45
Authors
Odoo Community Association (OCA), Escodoo
Maintainers
Odoo Community Association (OCA), Escodoo
Committers
Weblate, OCA-git-bot, oca-ci, CristianoMafraJunior
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allows you to configure domains to filter projects and tasks available for selection in helpdesk tickets. It provides both static domain configuration and dynamic Python-based filtering for enhanced flexibility.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form_project_domain res.config.settings.view.form.helpdesk.project.domain res.config.settings form Inherits helpdesk_mgmt.res_config_settings_view_form
view_helpdesk_team_form_project_domain helpdesk.ticket.team.form.project.domain helpdesk.ticket.team form Inherits helpdesk_mgmt.view_helpdesk_team_form
view_helpdesk_ticket_form_project_domain helpdesk.ticket.form.project.domain helpdesk.ticket form Inherits helpdesk_mgmt_project.ticket_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (2)
  • project_domain_ids Many2many → project.project
    compute='_compute_project_domain_ids' help='Projects available for selection based on domain rules' string='Available Projects' args: 'project.project'
  • task_domain_ids Many2many → project.task
    compute='_compute_task_domain_ids' help='Tasks available for selection based on domain rules' string='Available Tasks' args: 'project.task'
Public methods (0)

No public methods.

New fields (4)
  • project_domain Char
    help="Domain to filter projects available for selection in tickets. This domain will be automatically combined with company domain using AND. Example: [('active', '=', True), ('partner_id', '!=', False)]"
  • project_domain_python Text
    default=DEFAULT_PYTHON_CODE help="Python code to generate dynamic project domain based on ticket data. This domain will be automatically combined with company and team domains using AND. The code can either assign to 'domain' variable OR return a list directly. Available variables: ticket, env, user, company, AND, OR, normalize." string='Project Domain Python Code'
  • task_domain Char
    help="Domain to filter tasks available for selection in tickets. This domain will be automatically combined with company domain using AND. Example: [('active', '=', True), ('project_id', '!=', False)]"
  • task_domain_python Text
    default=DEFAULT_TASK_PYTHON_CODE help="Python code to generate dynamic task domain based on ticket data. This domain will be automatically combined with company and team domains using AND. The code can either assign to 'domain' variable OR return a list directly. Available variables: ticket, env, user, company, AND, OR, normalize." string='Task Domain Python Code'
Public methods (0)

No public methods.

New fields (2)
  • helpdesk_mgmt_project_domain Char
    help="Global domain to filter projects available for selection in tickets. This will be applied if no specific domain is set in the team. Example: [('active', '=', True), ('partner_id', '!=', False)]" string='Project Domain'
  • helpdesk_mgmt_task_domain Char
    help="Global domain to filter tasks available for selection in tickets. This will be applied if no specific domain is set in the team. Example: [('active', '=', True), ('project_id', '!=', False)]" string='Task Domain'
Public methods (0)

No public methods.

New fields (2)
  • helpdesk_mgmt_project_domain Char
    help="Global domain to filter projects available for selection in tickets. This will be applied if no specific domain is set in the team. Example: [('active', '=', True), ('partner_id', '!=', False)]" readonly=False related='company_id.helpdesk_mgmt_project_domain' string='Project Domain'
  • helpdesk_mgmt_task_domain Char
    help="Global domain to filter tasks available for selection in tickets. This will be applied if no specific domain is set in the team. Example: [('active', '=', True), ('project_id', '!=', False)]" readonly=False related='company_id.helpdesk_mgmt_task_domain' string='Task Domain'
Public methods (0)

No public methods.

Loading…

Loading…