12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <template id="report_posgralxproduct">
- <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">Analisis de ventas POS por producto/cliente</h4>
- <div class="logo1" />
- <table class="table table-condensed">
- <thead class="crm_tcab">
- <tr class="active">
- <th>Producto</th>
- <th class="text-right">Marca</th>
- <th class="text-right">Categoria</th>
- <th class="text-right">Cantidad</th>
- </tr>
- </thead>
- <t t-foreach="docs" t-as="o">
- <tbody>
- <tr>
- <td class="text-left">
- <span t-field="o.product_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.product_brand_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.product_categ_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.product_qty"/>
- </td>
- </tr>
- </tbody>
- </t>
- <tr>
- <td colspan="4"></td>
- </tr>
- <tr class="border-black">
- <td colspan="2">Cant. 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>
|