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.
 
 
 
 
 

145 lines
6.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Template for pdf report-->
<template id="report_mom_template">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="object">
<t t-call="web.external_layout">
<div class="page">
<center>
<h1>Meeting Minutes</h1>
</center>
<center>
<h2 t-field="object.name"/>
</center>
<br/>
<h6>
<t t-esc="object.description"/>
</h6>
<table class="table table-striped table-bordered">
<tr>
<td>
<strong>Date &amp; Time</strong>
</td>
<td>
<span t-field="object.start"/>
</td>
</tr>
<tr>
<td>
<strong>Responsible</strong>
</td>
<td>
<span t-field="object.responsible_user_id.name"/>
</td>
</tr>
<tr>
<td>
<strong>Note Taker</strong>
</td>
<td>
<span t-field="object.note_taker_id.name"/>
</td>
</tr>
<tr>
<td>
<strong>Attendees</strong>
</td>
<td>
<span t-field="object.partner_ids"/>
</td>
</tr>
<tr>
<td>
<strong>Absent Members</strong>
</td>
<td>
<span t-field="object.absent_member_ids"/>
</td>
</tr>
</table>
<h2>Agenda Items</h2>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>#</th>
<th>Topic</th>
<th>Description/Notes</th>
<th>Discussed</th>
</tr>
</thead>
<tbody>
<t t-set="index" t-value="1"/>
<tr t-foreach="object.agenda_ids" t-as="line">
<td>
<span t-esc="index"/>
</td>
<td>
<span t-field="line.topic"/>
</td>
<td>
<span t-field="line.description"/>
</td>
<td>
<t t-if="line.is_discussed">
<span>Yes</span>
</t>
<t t-else="">
<span>No</span>
</t>
</td>
<t t-set="index" t-value="index+1"/>
</tr>
</tbody>
</table>
<br/>
<h2>Actions/ Decisions</h2>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>#</th>
<th>Action/ Decisions</th>
<th>Description/Notes</th>
<th>Responsible</th>
<th>Assigned To</th>
<th>Deadline</th>
</tr>
</thead>
<tbody>
<t t-set="index" t-value="1"/>
<tr t-foreach="object.actions_ids" t-as="line">
<td>
<span t-esc="index"/>
</td>
<td>
<span t-field="line.action"/>
</td>
<td>
<span t-field="line.description"/>
</td>
<td>
<t t-esc="line.responsible_partner_id.name"/>
</td>
<td>
<span t-field="line.assigned_partner_ids"/>
</td>
<td>
<span t-field="line.deadline" t-options='{"format": "dd-MM-YYYY"}'/>
</td>
<t t-set="index" t-value="index+1"/>
</tr>
</tbody>
</table>
<p>
<h2>
<strong>Conclusion Notes</strong>
</h2>
<br/>
<t t-raw="object.notes"/>
</p>
</div>
</t>
</t>
</t>
</template>
</odoo>