1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="report_ventasgral8"
- model="report.stockgral.template"
- string="Listado General de Categoria Padres"
- report_type="qweb-pdf"
- name="report_stockgral_tmp.informe_stock_general_view1"
- file="report_stockgral_tmp.informe_stock_general_view1"
- />
- <template id="informe_stock_general_view1">
- <t t-call="report.html_container">
- <t t-call="report.internal_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 valorizacion de productos en stock</h4>
- <div class="logo1" />
- <table class="table table-condensed">
- <thead class="crm_tcab">
- <tr class="active">
- <th>Referencia</th>
- <th>Producto</th>
- <th class="text-right">Cantidad</th>
- </tr>
- </thead>
- <t t-foreach="docs" t-as="o">
- <tbody>
- <tr>
- <td>
- <span t-field="o.factory_reference"/>
- </td>
- <td>
- <span t-field="o.product_tmpl_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.quantity"/>
- </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.quantity for x in docs])"/>
- <span t-esc="total"/>
- </td>
- </tr>
- </table>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|