Author: |
Numigi |
License: |
LGPL-3 |
Branch: |
12.0 |
Repository: |
Numigi/odoo-project-addons |
Dependencies: |
hr_timesheet,
project,
and
project_lump_sum |
Languages: |
PO File (34, 23.0%),
Python (33, 22.3%),
XML (58, 39.2%),
and
reStructuredText (23, 15.5%) |
Other branches: |
14.0,
452,
TA#445738---project_outsourcing_timesheet_manage_contacts,
TA#45451---add_project_milestone_week_duration,
TA#45451---fix_after_test,
TA#45452,
TA#45459---project_milestone_timeline_dynamic,
TA#45464---project_manager_access_right,
TA#45526,
TA#45528,
TA#45902---analytic_line_revenue_v14,
TA#45902---project_cost_smart_button_migration,
TA#45902-analytic_line_employee_migration,
TA#46088---project_timesheet_time_control_employee_pin,
TA#46412---project_default_task_stage,
TA#46412---project_stage_no_quick_create,
TA#46412---project_task_date_planned,
TA#46412---project_type,
TA#46412--project_task_full_text_search,
TA#47760---correctif#6,
TA#47906,
TA#48575,
TA#51167,
TumbaoJu-patch-1,
and
abenzbiria-patch-1 |
<h1 class="title">Portal Project List Hours Spent</h1>
<div class="contents topic" id="table-of-contents">
<p class="topic-title">Table of Contents</p>
<ul class="simple">
<li><a class="reference internal" href="#overview" id="id1">Overview</a></li>
<li><a class="reference internal" href="#description" id="id2">Description</a></li>
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
<li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li>
</ul>
</div>
<a name="overview"></a>
<h2><a class="toc-backref" href="#id1">Overview</a></h2>
<p>Add column spent hours in portal projects and tasks lists conditionally.</p>
<a name="description"></a>
<h2><a class="toc-backref" href="#id2">Description</a></h2>
<p>If a project has not a type or has a type with <strong>Lump Sum</strong> not checked, the module:
- Add column <code>Total Spent Hours</code> in portal list projects.
- Add column <code>Spent hours</code> in portal list tasks.</p>
<p>If a project has type with <strong>Lump Sum</strong> checked, the module hide <code>Timesheets</code> from portal task form view.</p>
<a name="usage"></a>
<h2><a class="toc-backref" href="#id3">Usage</a></h2>
<ul>
<li><p class="first">Create 2 projects, the first one has a type with Lump Sum checked and the second project has type with Lump Sum unchecked.</p>
</li>
<li><p class="first">Create tasks in each project and fill timesheet lines in those tasks.</p>
</li>
<li><p class="first">In portal projects list the Total Spent Hours will display only for the project which has type with <code>Lump Sum</code> unchecked.</p>
<blockquote>
<img alt="./static/description/portal_project_total_spent_hours.png" src="./static/description/portal_project_total_spent_hours.png" />
</blockquote>
</li>
<li><p class="first">In portal task list the Spent Hours will display only for the tasks of a project which has type with <code>Lump Sum</code> unchecked.</p>
<blockquote>
<img alt="./static/description/portal_tasks_spent_hours.png" src="./static/description/portal_tasks_spent_hours.png" />
</blockquote>
</li>
<li><p class="first">In portal task form the Timesheets will be hidden from a task of a project which has type with <code>Lump Sum</code> checked.</p>
</li>
</ul>
<a name="contributors"></a>
<h2><a class="toc-backref" href="#id4">Contributors</a></h2>
<ul class="simple">
<li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li>
</ul>