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.
 
 
 
 
 

56 lines
2.8 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_digital_studio">
<t t-call="report.html_container">
<t t-call="report.internal_layout">
<div class="page" >
<div class="row mt32 mb32" style="text-align:left;">
<div class="col-xs-12">
User :
<p t-esc="user.name"/>
</div>
</div>
<div class="row mt32 mb32" style="text-align:left;">
<div class="col-xs-12">
Date :
<p t-esc="date_cur"/>
</div>
</div>
<table class="table table-condensed">
<thead>
<tr >
<th style="background-color:#9b9da0 !important;">Name</th>
<th style="background-color:#9b9da0 !important;">Customer</th>
<th style="background-color:#9b9da0 !important;">Type</th>
<th style="background-color:#9b9da0 !important;">Return Date</th>
<th style="background-color:#9b9da0 !important;">State</th>
</tr>
</thead>
<tbody>
<t t-foreach="records" t-as="rec">
<tr>
<td>
<span t-att-style="style" t-esc="rec.name"/>
</td>
<td>
<span t-att-style="style" t-esc="rec.customer_id.name"/>
</td>
<td>
<span t-att-style="style" t-esc="rec.type_id.name"/>
</td>
<td>
<span t-att-style="style" t-esc="rec.return_date"/>
</td>
<td>
<span t-att-style="style" t-esc="rec.state"/>
</td>
</tr>
</t>
</tbody>
</table>
</div>
</t>
</t>
</template>
</odoo>