You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
4.6 KiB
102 lines
4.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!-- PDF report template for project -->
|
|
<template id="project_details_report">
|
|
<t t-call="web.html_container">
|
|
<div class="article">
|
|
<div class="header">
|
|
<div class="row text-left"
|
|
style="border-top: 1px solid black;">
|
|
<div class="col-xs-3 col-xs-offset-9 text-right">
|
|
<ul class="list-inline"
|
|
style="margin-top:10px;">
|
|
<li>
|
|
<span class="page"/>
|
|
/
|
|
<span class="topage"/>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h3>
|
|
<strong>
|
|
<center>
|
|
<t t-set="docs" t-value="docs"/>
|
|
<span class="text-left" style="color:black;"
|
|
t-esc="docs.name"/>
|
|
</center>
|
|
</strong>
|
|
</h3>
|
|
<strong style="font-size:21px;">Project Manager: </strong>
|
|
<span class="text-left" style="color:black;font-size:19px;"
|
|
t-esc="docs.user_id.name"/>
|
|
<br/>
|
|
<strong style="font-size:21px;">Customer: </strong>
|
|
<span class="text-left" style="color:black;font-size:19px;"
|
|
t-esc="docs.partner_id.name"/>
|
|
<br/><br/>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Task Name</th>
|
|
<th>Allocated Hours</th>
|
|
<th>Spend Hours</th>
|
|
<th>Remaining Hours</th>
|
|
<th>Assigned To</th>
|
|
<th>Assign Date</th>
|
|
<th>Deadline</th>
|
|
<th>Stage</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<t t-foreach="docs.task_ids" t-as="task">
|
|
<tr>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.name"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.allocated_hours"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.effective_hours"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.remaining_hours"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.user_ids.name"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.date_assign"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.date_deadline"/>
|
|
</td>
|
|
<td>
|
|
<span class="text-left"
|
|
style="color:black;"
|
|
t-esc="task.stage_id.name"/>
|
|
</td>
|
|
</tr>
|
|
</t>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</t>
|
|
</template>
|
|
</odoo>
|
|
|