1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <template id="informe_salevariant_por_fechacbs">
- <t t-call="report.html_container">
- <t t-call="report.external_layout">
- <div class="page">
- <style type="text/css">
- .crm_tcab{
- font-size: 3mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- .crm_tbody{
- font-size: 2.8mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- .logo1{
- width: 100%;
- top: 1.5cm;
- }
- .total1{
- font-size: 2.8mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- </style>
- <h4 class="text-center">Listado de ventas por fecha</h4>
- <div class="logo1" />
- <table class="table table-condensed">
- <thead class="crm_tcab">
- <tr class="active">
- <th class="text-left">Fecha</th>
- <th class="text-left">Cliente</th>
- <th class="text-left">Producto</th>
- <th class="text-center">Cantidad</th>
- </tr>
- </thead>
- <t t-foreach="docs" t-as="o">
- <tbody>
- <tr>
- <td>
- <span t-field="o.date" t-field-options='{"widget": "date"}'/>
- </td>
- <td class="text-left">
- <span t-esc="o.partner_id.name"/>
- </td>
- <td class="text-left">
- <span t-esc="o.product_id.name"/>
- </td>
- <td class="text-center">
- <span t-field="o.product_qty" sum="# of Qty"/>
- </td>
- </tr>
- </tbody>
- </t>
- <tr>
- <td colspan="4"></td>
- </tr>
- <tr class="border-black">
- <td colspan="3">Total:</td>
- <td class="text-right">
- <t t-set="total" t-value="sum([x.product_qty for x in docs])"/>
- <span t-esc="total"/>
- </td>
- </tr>
- </table>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|