From edeacc455528b61ca3270e92a95893618e5b5a47 Mon Sep 17 00:00:00 2001 From: Quentin Mondot Date: Tue, 21 Oct 2025 16:22:39 +0200 Subject: [PATCH] [ADD] maintenance_project_task_domain --- maintenance_project_task_domain/.gitignore | 2 ++ maintenance_project_task_domain/README.md | 36 +++++++++++++++++++ maintenance_project_task_domain/__init__.py | 0 .../__manifest__.py | 20 +++++++++++ .../maintenance_view_form_task_domain.xml | 16 +++++++++ 5 files changed, 74 insertions(+) create mode 100644 maintenance_project_task_domain/.gitignore create mode 100644 maintenance_project_task_domain/README.md create mode 100644 maintenance_project_task_domain/__init__.py create mode 100644 maintenance_project_task_domain/__manifest__.py create mode 100644 maintenance_project_task_domain/views/maintenance_view_form_task_domain.xml diff --git a/maintenance_project_task_domain/.gitignore b/maintenance_project_task_domain/.gitignore new file mode 100644 index 0000000..6da5887 --- /dev/null +++ b/maintenance_project_task_domain/.gitignore @@ -0,0 +1,2 @@ +*.*~ +*pyc diff --git a/maintenance_project_task_domain/README.md b/maintenance_project_task_domain/README.md new file mode 100644 index 0000000..5b2aa9c --- /dev/null +++ b/maintenance_project_task_domain/README.md @@ -0,0 +1,36 @@ +=============================== +maintenance_project_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 +`maintenance_project_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/maintenance_project_task_domain/__init__.py b/maintenance_project_task_domain/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/maintenance_project_task_domain/__manifest__.py b/maintenance_project_task_domain/__manifest__.py new file mode 100644 index 0000000..cee00ff --- /dev/null +++ b/maintenance_project_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": "maintenance_project_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": ["maintenance_project"], + "data": [ + "views/maintenance_view_form_task_domain.xml" + ], + "installable": True, + "auto_install": True, + "application": False, +} diff --git a/maintenance_project_task_domain/views/maintenance_view_form_task_domain.xml b/maintenance_project_task_domain/views/maintenance_view_form_task_domain.xml new file mode 100644 index 0000000..0070aea --- /dev/null +++ b/maintenance_project_task_domain/views/maintenance_view_form_task_domain.xml @@ -0,0 +1,16 @@ + + + + maintenance.form.task.domain + maintenance.request + + + + + [('project_id', '=', project_id),('stage_id.fold', '=', False)] + + + +