From 163abfb23de725723db418b24f56de78782b4f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Sainl=C3=A9ger?= Date: Tue, 17 Mar 2026 22:01:38 +0100 Subject: [PATCH] [MIG] maintenance_project_task_domain: Migration to 18.0 --- maintenance_project_task_domain/README.md | 31 ++++++++++++++++--- .../__manifest__.py | 2 +- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/maintenance_project_task_domain/README.md b/maintenance_project_task_domain/README.md index 706a071..c8efabf 100644 --- a/maintenance_project_task_domain/README.md +++ b/maintenance_project_task_domain/README.md @@ -1,20 +1,43 @@ -=============================== maintenance_project_task_domain +=============================== +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. +This module adjusts the domain applied to the task field on maintenance requests +in order to limit selection to tasks in any of unfolded stages only. + +When linking a maintenance request to a project task, the default behavior shows +all tasks from the project. This module filters out tasks that are in folded +stages (typically completed or cancelled tasks), making it easier to select +relevant active tasks. # Installation Use Odoo normal module installation procedure to install `maintenance_project_task_domain`. +This module depends on `maintenance_project` and will be auto-installed when +that module is present. + +# Configuration + +No configuration is needed. The module automatically applies the domain filter +to the task field on maintenance request forms. + +# Usage + +1. Go to Maintenance > Maintenance Requests +2. Create or edit a maintenance request +3. When selecting a task in the "Task" field, only tasks from unfolded stages + will be displayed + # Known issues / Roadmap +- Consider making the stage filter configurable via settings + # Bug Tracker Bugs are tracked on -`our issues website `\_. In +[our issues website](https://git.elabore.coop/Elabore/maintenance-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. diff --git a/maintenance_project_task_domain/__manifest__.py b/maintenance_project_task_domain/__manifest__.py index 26dfa5c..f9bad53 100644 --- a/maintenance_project_task_domain/__manifest__.py +++ b/maintenance_project_task_domain/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "maintenance_project_task_domain", - "version": "16.0.1.0.0", + "version": "18.0.1.0.0", "author": "Elabore", "website": "https://git.elabore.coop/elabore/maintenance-tools", "maintainer": "Quentin Mondot",