From 243603069ed86a77d1d03f427c45f5361685b078 Mon Sep 17 00:00:00 2001 From: Quentin Mondot Date: Tue, 21 Oct 2025 16:02:55 +0200 Subject: [PATCH] [ADD] helpdesk_ticket_task_domain --- helpdesk_ticket_task_domain/.gitignore | 2 ++ helpdesk_ticket_task_domain/README.md | 36 +++++++++++++++++++ helpdesk_ticket_task_domain/__init__.py | 0 helpdesk_ticket_task_domain/__manifest__.py | 20 +++++++++++ .../views/ticket_view_form_task_domain.xml | 16 +++++++++ 5 files changed, 74 insertions(+) create mode 100644 helpdesk_ticket_task_domain/.gitignore create mode 100644 helpdesk_ticket_task_domain/README.md create mode 100644 helpdesk_ticket_task_domain/__init__.py create mode 100644 helpdesk_ticket_task_domain/__manifest__.py create mode 100644 helpdesk_ticket_task_domain/views/ticket_view_form_task_domain.xml diff --git a/helpdesk_ticket_task_domain/.gitignore b/helpdesk_ticket_task_domain/.gitignore new file mode 100644 index 0000000..6da5887 --- /dev/null +++ b/helpdesk_ticket_task_domain/.gitignore @@ -0,0 +1,2 @@ +*.*~ +*pyc diff --git a/helpdesk_ticket_task_domain/README.md b/helpdesk_ticket_task_domain/README.md new file mode 100644 index 0000000..6c1cbda --- /dev/null +++ b/helpdesk_ticket_task_domain/README.md @@ -0,0 +1,36 @@ +=========================== +helpdesk_ticket_task_domain +=========================== + +This module adjusts the domain applied to task field in order to limit +selection to tasks in any of unfolded stages. + +# Installation + +Use Odoo normal module installation procedure to install +`helpdesk_ticket_task_domain`. + +# Known issues / Roadmap + +# Bug Tracker + +Bugs are tracked on `our issues website `\_. 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 + +- Quentin Mondot + +## Funders + +The development of this module has been financially supported by: + +- Elabore (https://elabore.coop) + +## Maintainer + +This module is maintained by Elabore. diff --git a/helpdesk_ticket_task_domain/__init__.py b/helpdesk_ticket_task_domain/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/helpdesk_ticket_task_domain/__manifest__.py b/helpdesk_ticket_task_domain/__manifest__.py new file mode 100644 index 0000000..7c43195 --- /dev/null +++ b/helpdesk_ticket_task_domain/__manifest__.py @@ -0,0 +1,20 @@ +# Copyright 2025 Quentin Mondot +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "helpdesk_ticket_task_domain", + "version": "16.0.1.0.0", + "author": "Elabore", + "website": "https://elabore.coop", + "maintainer": "Quentin Mondot", + "license": "AGPL-3", + "category": "Tools", + "summary": "This module adjusts the domain applied to task field in order to limit " + "selection to tasks in any of unfolded stages.", + "depends": ["helpdesk_mgmt_project"], + "data": [ + "views/ticket_view_form_task_domain.xml" + ], + "installable": True, + "auto_install": True, + "application": False, +} diff --git a/helpdesk_ticket_task_domain/views/ticket_view_form_task_domain.xml b/helpdesk_ticket_task_domain/views/ticket_view_form_task_domain.xml new file mode 100644 index 0000000..34de6eb --- /dev/null +++ b/helpdesk_ticket_task_domain/views/ticket_view_form_task_domain.xml @@ -0,0 +1,16 @@ + + + + helpdesk.ticket.form.task.domain + helpdesk.ticket + + + + + [('project_id', '=', project_id),('stage_id.fold', '=', False)] + + + +