[MIG] maintenance_project_task_domain: Migration to 18.0

This commit is contained in:
Stéphan Sainléger
2026-03-17 22:01:38 +01:00
parent a563a9f860
commit 163abfb23d
2 changed files with 28 additions and 5 deletions

View File

@@ -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 <https://github.com/elabore-coop/maintenance-tools/issues>`\_. 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.

View File

@@ -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",