diff --git a/prompts/16_context-project-phase-estimate.md b/prompts/16_context-project-phase-estimate.md new file mode 100644 index 00000000..79675cbb --- /dev/null +++ b/prompts/16_context-project-phase-estimate.md @@ -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==