12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="report_ventasgral6"
- model="report.stockgral1"
- string="Listado de Stock Valorizado"
- report_type="qweb-pdf"
- name="report_stockgral.informe_stock_general_view1"
- file="report_stockgral.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>
- <th class="text-right">Sub Total Venta</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_id"/>
- </td>
- <td class="text-right">
- <span t-field="o.quantity"/>
- </td>
- <td class="text-right">
- <span t-field="o.subtotal_venta"/>
- </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.subtotal_venta for x in docs])"/>
- <span t-esc="total"/>
- </td>
- </tr>
- </table>
- </div>
- </t>
- </t>
- </template>
- </data>
- </openerp>
|