Author: |
Numigi |
License: |
LGPL-3 |
Branch: |
452 |
Repository: |
Numigi/odoo-project-addons |
Dependencies: |
project_task_reference,
web,
and
web_editor |
Languages: |
JavaScript (32, 14.2%),
Python (163, 72.1%),
XML (8, 3.5%),
and
reStructuredText (23, 10.2%) |
Other branches: |
12.0,
14.0,
TA#42546,
TA#43556,
TA#44075---manage_project_budget_using_milestone,
TA#44076---Update-dockerfile,
TA#44215---project_task_kanban_view_partner,
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,
abenzbiria-patch-1,
jbreard-patch-1,
jbreard-patch-2,
and
update_analytic_account_on_timesheets |
<h1 class="title">Project Task Link</h1>
<p>This module allows to insert dynamic links in the description of tasks.</p>
<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><ul>
<li><a class="reference internal" href="#portal" id="id2">Portal</a></li>
</ul>
</li>
<li><a class="reference internal" href="#advanced-setup" id="id3">Advanced Setup</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>As member of the group <code>Project / User</code>, I go the form view of a task.</p>
<img alt="static/description/task_formpng.png" src="static/description/task_formpng.png" />
<p>In the description, I need to reference the task ID=18.
Therefore, I write <code>TA#18</code> in the description.</p>
<img alt="static/description/task_form_edit_mode.png" src="static/description/task_form_edit_mode.png" />
<p>When I save, I notice that a link was inserted dynamically.</p>
<img alt="static/description/task_form_saved.png" src="static/description/task_form_saved.png" />
<p>If I click on the link, the referenced task is open.</p>
<img alt="static/description/linked_task_form.png" src="static/description/linked_task_form.png" />
<a name="portal"></a>
<h3><a class="toc-backref" href="#id2">Portal</a></h3>
<p>As user of the portal, I go to the form view of the task.</p>
<img alt="static/description/portal_task_with_link.png" src="static/description/portal_task_with_link.png" />
<p>When I click on a dynamic link, the referenced task is open in a new window.</p>
<img alt="static/description/portal_linked_task.png" src="static/description/portal_linked_task.png" />
<a name="advanced-setup"></a>
<h2><a class="toc-backref" href="#id3">Advanced Setup</a></h2>
<p>By default, the system uses the following regex to detect where to insert dynamic links:</p>
<blockquote>
[Tt][Aa]#?(?P<id>d+)</blockquote>
<p>This means that inserting either <code>TA#123</code>, <code>ta#123</code>, <code>TA123</code> or <code>ta123</code>
will generate a link that point to the task with ID=123.</p>
<p>To customize the format of references, please refer to the module <a class="reference external" href="https://github.com/Numigi/odoo-project-addons/tree/12.0/project_task_reference">project_task_reference</a>.</p>
<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>