feat(prompts): add context project phase estimate prompt for task-estimate integration

This commit is contained in:
Janik von Rotz committed 2026-02-23 13:46:11 +01:00
1 parent 2435e1710c
commit 1cbf6899bb
1 file changed
+35
@@ -0,0 +1,35 @@
---
title: Context project phase estimate
---
# Run 16
Replace the `==` marked instructions in this file while you work on the task.
## Context
Read the `AGENTS.md` and `README.md` to get understanding of the project.
## Task
Please update the `addons/project/project_phase_estimate` module.
Here is the first task.
When I open the task form and click on `phase_id` the `project_id` is passed as context. Then on the `project.task.phase` form I click on `action_project_estimate` and create a new estimate. The new estimate should be prefilled with the `project_id`. Can you make sure the `project_id`is passed as context from the task from to the estimate tree?
Then I have another task.
When I click on "Project > Project Phases > Project Estimates", I want to see all estimates grouped by project by default.
And another task.
When I add a project phase to a task, ensure that the linked project has an estimate for this phase. If there is not estimate, create one and set planned time to 0.
Then I have final request.
Make sure that the combination of phase and project for an estimate is unique.
## Worklog
==Fill this in as you work on the task==
## Summary
==Fill this once you completed the task==