123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="print_stock_transfer"
- model="stock.warehouse.transfer"
- string="Transferencia de Productos"
- report_type="qweb-pdf"
- name="print_stock_transfer.report_stock_transfer"
- file="print_stock_transfer.report_stock_transfer"
- />
- <template id="report_stock_transfer">
- <t t-call="report.html_container">
- <!-- <t t-call="report.external_layout"> -->
- <t t-foreach="[1]" t-as="i">
- <div class="page">
- <style type="text/css">
- body{
- font-size: 3mm;
- font-family: Arial;
- }
- div{
- padding: 0px;
- }
- .pagina{
- width:19.3cm;
- }
- .descripcion1{
- width: 11.2cm;
- font-size: 13px;
- padding-top: 0.2cm;
- float: left;
- min-height: 0cm;
- }
- .email{
- width: 13cm;
- font-size: 10px;
- float: left;
- min-height: 0cm;
- }
- .ciudad{
- width: 13cm;
- float: left;
- font-size: 10px;
- min-height: 0cm;
- }
- .tel{
- width: 11cm;
- float: left;
- font-size: 10px;
- min-height: 0cm;
- }
- .table-condensed>tbody>tr>td {
- padding: 1px !important;
- }
- .divisoria{
- height: 0.2cm;
- clear: both;
- }
- .fecha_emision_data{
- width: 11.5cm;
- float: left;
- min-height: 0.5cm;
- }
- .contado_x{
- width: 1.8cm;
- float: left;
- padding-left: 9cm;
- min-height: 0.5cm;
- }
- .credito_x{
- width: 1.8cm;
- float: left;
- padding-left: 1.6cm;
- min-height: 0.5cm;
- }
- .linea2{
- position: relative;
- top: -0.12cm;
- min-height: 0.5cm;
- }
- .razon_data{
- width: 10cm;
- float: left;
- min-height: 0.4cm;
- }
- .ruc_data{
- width: 10cm;
- float: left;
- min-height: 0.5cm;
- }
- .linea3{
- position: relative;
- top: -0.12cm;
- min-height: 0.3cm;
- }
- .direccion_data{
- width: 14cm;
- float: left;
- min-height: 0.4cm;
- }
- .linea4{
- position: relative;
- top: -0.12cm;
- min-height: 0.3cm;
- }
- .telefono_data{
- width: 10cm;
- float: left;
- min-height: 0.4cm;
- }
- .nota_remision_data{
- width: 8cm;
- float: left;
- min-height: 0.4cm;
- }
- .cab-articulos{
- height: 0.4cm;
- clear: both;
- }
- .articulos{
- height: 4.5cm;
- }
- .art-col1{
- width:0.4cm;
- text-align: center;
- }
- .art-col2{
- padding-left: 0.7cm;
- width:1cm;
- text-align: center;
- }
- .art-col3{
- padding-left: 0.3cm;
- width:9cm;
- }
- .art-col4{
- width:0.9cm;
- text-align: right;
- }
- .art-col5{
- width:2.8cm;
- text-align: right;
- }
- .art-col6{
- width:2.7cm;
- text-align: right;
- }
- .art-col7{
- width:1.5cm;
- text-align: right;
- }
- .logo1{
- height: 2cm;
- width: 100%;
- top: 0px;
- }
- </style>
- <t t-set="total_qty" t-value="0"/>
- <t t-foreach="docs" t-as="o">
- <div class="pagina">
- <div class="logo1"> </div>
- <div style="border:0.3px solid #000;"></div>
- <div class="divisoria"> </div>
- <h3><strong>TRANSFERENCIA DE PRODUCTOS</strong></h3>
- <div class="divisoria"> </div>
- <div class="divisoria"> </div>
- <div class="linea3">
- <div class="fecha_emision_data"><b>Fecha de Transferencia: </b><span t-field="o.date"/></div>
- </div>
- <div class="linea2">
- <div class="razon_data"><b>Sucursal de Origen: </b><span t-field="o.source_warehouse"/></div>
- <div class="ruc_data"><b>Sucursal de Destino: </b><span t-field="o.dest_warehouse"/></div>
- </div>
- <div class="linea3">
- <div class="direccion_data"><b>Referencia: </b><span t-field="o.name"/></div>
- </div>
- <table class="table table-condensed table-bordered">
- <thead>
- <tr>
- <th class="text-center">EAN13</th>
- <th class="text-center">Descripción</th>
- <th class="text-center">Cantidad</th>
- </tr>
- </thead>
- <tbody class="sale_tbody">
- <tr t-foreach="o.lines" t-as="l">
- <td>
- <span t-field="l.ean13"/>
- </td>
- <td>
- <span t-field="l.product_id"/>
- </td>
- <td class="text-right">
- <span t-esc="'%.0f'%l.product_qty"/>
- <t t-set="total_qty" t-value="total_qty + l.product_qty"/>
- </td>
- </tr>
- <tr>
- <td class="text-center"><strong>Total</strong></td>
- <td class="text-right">
- <strong><span t-esc="'%.0f'%total_qty"/></strong>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </t>
- </div>
- </t>
- <!-- </t> -->
- </t>
- </template>
- </data>
- </openerp>
|