From 0121bf1e92abf87e690db22906a54b64cfd54517 Mon Sep 17 00:00:00 2001 From: Abdellatif Benzbiria Date: Fri, 14 Jun 2024 16:11:45 +0100 Subject: [PATCH 1/3] [ADD] readme --- project_milestone_spent_hours/README.rst | 34 ------------------- .../readme/CONTEXT.md | 5 +++ .../readme/CONTRIBUTORS.md | 1 + .../readme/DESCRIPTION.md | 3 ++ project_milestone_spent_hours/readme/USAGE.md | 9 +++++ 5 files changed, 18 insertions(+), 34 deletions(-) delete mode 100644 project_milestone_spent_hours/README.rst create mode 100644 project_milestone_spent_hours/readme/CONTEXT.md create mode 100644 project_milestone_spent_hours/readme/CONTRIBUTORS.md create mode 100644 project_milestone_spent_hours/readme/DESCRIPTION.md create mode 100644 project_milestone_spent_hours/readme/USAGE.md diff --git a/project_milestone_spent_hours/README.rst b/project_milestone_spent_hours/README.rst deleted file mode 100644 index 208a2a8f30..0000000000 --- a/project_milestone_spent_hours/README.rst +++ /dev/null @@ -1,34 +0,0 @@ -Project Milestone Spent Hours -================================= - -.. contents:: Table of Contents - -Context -------- -The module `project_milestone `_ allows to define milestones for a project. - -Multiple tasks in the project can be linked to a given milestone. - -Field total hours is displayed in form and list view of a project milestone and in tab of milestones of a project - -Description ------------ -Field Total Hours is the sum of timesheets of active tasks associated to the milestone - -Overview --------- - -I create timesheets and set duration for 2 tasks associated to the same milestone - -.. image:: project_milestone_spent_hours/static/description/task1.png - -.. image:: project_milestone_spent_hours/static/description/task2.png - -I open the milestone, the field Total hours is set with sum of timesheets spent hours of associated tasks - -.. image:: project_milestone_spent_hours/static/description/milestone.png - - -Contributors ------------- -* Numigi (tm) and all its contributors (https://bit.ly/numigiens) diff --git a/project_milestone_spent_hours/readme/CONTEXT.md b/project_milestone_spent_hours/readme/CONTEXT.md new file mode 100644 index 0000000000..47d6027553 --- /dev/null +++ b/project_milestone_spent_hours/readme/CONTEXT.md @@ -0,0 +1,5 @@ +The module project_milestone allows to define milestones for a project. + +Multiple tasks in the project can be linked to a given milestone. + +Field total hours is displayed in form and list view of a project milestone and in tab of milestones of a project \ No newline at end of file diff --git a/project_milestone_spent_hours/readme/CONTRIBUTORS.md b/project_milestone_spent_hours/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..ace9ae4c86 --- /dev/null +++ b/project_milestone_spent_hours/readme/CONTRIBUTORS.md @@ -0,0 +1 @@ +- Numigi (tm) and all its contributors (https://bit.ly/numigiens) \ No newline at end of file diff --git a/project_milestone_spent_hours/readme/DESCRIPTION.md b/project_milestone_spent_hours/readme/DESCRIPTION.md new file mode 100644 index 0000000000..a493d7464c --- /dev/null +++ b/project_milestone_spent_hours/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This module adds a new field `Total Hours` on milestone form view. + +The field `Total Hours` is the sum of timesheets of active tasks associated to the milestone. \ No newline at end of file diff --git a/project_milestone_spent_hours/readme/USAGE.md b/project_milestone_spent_hours/readme/USAGE.md new file mode 100644 index 0000000000..4a37a5c254 --- /dev/null +++ b/project_milestone_spent_hours/readme/USAGE.md @@ -0,0 +1,9 @@ +As a `Project/User`, I create timesheets and set `Duration` for 2 tasks associated to the same Milestone. + +![task 1](../static/description/task1.png) + +![task 2](../static/description/task2.png) + +I open the Milestone, the field `Total Hours` is set with the **sum of timesheets spent hours** of associated tasks. + +![milestone](../static/description/milestone.png) From 616f4b084fd5c6daf6384b19c5549c01603377ae Mon Sep 17 00:00:00 2001 From: Julie LeBrun <38360781+TumbaoJu@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:23:51 -0400 Subject: [PATCH 2/3] Update CONTEXT.md --- project_milestone_spent_hours/readme/CONTEXT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project_milestone_spent_hours/readme/CONTEXT.md b/project_milestone_spent_hours/readme/CONTEXT.md index 47d6027553..5a4677a7fd 100644 --- a/project_milestone_spent_hours/readme/CONTEXT.md +++ b/project_milestone_spent_hours/readme/CONTEXT.md @@ -1,5 +1,5 @@ -The module project_milestone allows to define milestones for a project. +The module `project_milestone` allows to define Milestones for a Project. Multiple tasks in the project can be linked to a given milestone. -Field total hours is displayed in form and list view of a project milestone and in tab of milestones of a project \ No newline at end of file +Field `Total Hours` is displayed in form and list views of a Project Milestone and in the tab of Milestones of a Project. From 1c228a53a20ea9fd17f6a4ca59aa8f3106484ca2 Mon Sep 17 00:00:00 2001 From: Julie LeBrun <38360781+TumbaoJu@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:24:26 -0400 Subject: [PATCH 3/3] Update DESCRIPTION.md --- project_milestone_spent_hours/readme/DESCRIPTION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project_milestone_spent_hours/readme/DESCRIPTION.md b/project_milestone_spent_hours/readme/DESCRIPTION.md index a493d7464c..ca3ab7e6c9 100644 --- a/project_milestone_spent_hours/readme/DESCRIPTION.md +++ b/project_milestone_spent_hours/readme/DESCRIPTION.md @@ -1,3 +1,3 @@ -This module adds a new field `Total Hours` on milestone form view. +This module adds a new field `Total Hours` on Milestone form view. -The field `Total Hours` is the sum of timesheets of active tasks associated to the milestone. \ No newline at end of file +The field `Total Hours` is the sum of timesheets of active tasks associated to the Milestone.