123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <report id="nota_remision"
- model="sale.nota.remision"
- string="Nota Remision"
- report_type="qweb-html"
- name="nota_remision_standard.report_nota_remision"
- file="nota_remision_standard.report_nota_remision"
- />
- <!-- <template id="new_external_layout"> -->
- <!-- Multicompany -->
- <!-- <t t-if="o and 'company_id' in o">
- <t t-set="company" t-value="o.company_id"></t>
- </t>
- <t t-if="not o or not 'company_id' in o">
- <t t-set="company" t-value="res_company"></t>
- </t> -->
- <!-- <t t-call="nota_remision_standard.new_external_layout_header" />
- <t t-raw="0" /> -->
- <!-- </template> -->
- <!-- <template id="new_external_layout_header">
- <div class="header">
- <div class="row">
- <div class="col-xs-8">
- <div>
- <strong><span t-field="company.partner_id" style="font-size:20px"/></strong>
- </div>
- <div t-field="company.rml_header1"/>
- <div>
- <span>R.U.C:</span>
- <span t-field="company.partner_id.ruc"/>
- </div>
- <div t-field="company.street"/>
- <div t-field="company.street2"/>
- <div t-field="company.state_id"/>
- <div t-field="company.country_id"/>
- </div>
- <div class="col-xs-4">
- <img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % company.logo" style="max-height: 100px; float:right"/>
- </div>
- </div>
- <div class="row zero_min_height">
- <div class="col-xs-12">
- <div style="border-bottom: 1px solid black;"></div>
- </div>
- </div>
- </div>
- </template> -->
- <template id="report_nota_remision">
- <t t-call="report.html_container">
- <!-- <t t-call="nota_remision_standard.new_external_layout"> -->
- <t t-foreach="docs" t-as="o">
- <div class="page">
- <style>
- body{
- font-size: 3mm;
- font-family: Arial, Helvetica, sans-serif;
- }
- .div_border{
- border: 1px solid black;
- padding:10px
- }
- th, td {
- width:150px;
- padding:4.8px
- }
- .logo1{
- height: 5.1cm;
- width: 100%;
- top: 0px;
- }
- .fecha_emision_data{
- width: 12.5cm;
- padding-left: 6.4cm;
- float: left;
- min-height: 0.9cm;
- }
- .blank_space{
- height:5px;
- }
- .logo5{
- height: 0.7cm;
- width: 100%;
- top: 0px;
- }
- .cli_nombre_label{
- width:3.0cm;
- min-height: 0.9cm;
- }
- .cli_nombre{
- width:3cm;
- min-height: 0.9cm;
- }
- .cli_ruc_label{
- width:1cm;
- min-height: 0.9cm;
- }
- .cli_ruc{
- width:3cm;
- min-height: 0.9cm;
- }
- .cli_telef_label{
- width:0cm;
- min-height: 0.2cm;
- }
- .cli_telef{
- width:3cm;
- min-height: 0.2cm;
- }
- .cli_movil_label{
- width:0cm;
- min-height: 0.2cm;
- }
- .cli_movil{
- width:3cm;
- min-height: 0.2cm;
- }
- .logo{
- height: 0.35cm;
- width: 100%;
- top: 0px;
- }
- .motivo_data_label{
- width:1.8cm;
- min-height: 0.7cm;
- }
- .motivo_data{
- width:9,5cm;
- float: left;
- padding-left: 0.8cm;
- min-height: 0.5cm;
- }
- .comprobante_data_label{
- width:0.1cm;
- min-height: 0.5cm;
- }
- .comprobante_data{
- width:2.5cm;
- float: left;
- padding-left: 0.1cm;
- min-height: 0.5cm;
- }
- .comprobante_label{
- width:0.2cm;
- min-height: 0.5cm;
- }
- .comprobante{
- width:2.6cm;
- padding-left: 0.4cm;
- min-height: 0.5cm;
- }
- .timbrado_label{
- width:0.5cm;
- min-height: 0.5cm;
- }
- .timbrado{
- width:2.6cm;
- padding-left: 0.1cm;
- min-height: 0.5cm;
- }
- .expedicion_label{
- width:1cm;
- min-height: 0.1cm;
- }
- .expedicion{
- width:2cm;
- padding-left: 1.5cm;
- min-height: 0.1cm;
- }
- .blank_space1{
- min-height: 0.5cm;
- }
- .fecha_inicio_label{
- width:3cm;
- min-height: 0.6cm;
- }
- .fecha_inicio{
- width:3cm;
- padding-left: 1.1cm;
- min-height: 0.6cm;
- }
- .fecha_termino_label{
- width:1.5cm;
- min-height: 0.6cm;
- }
- .fecha_termino{
- width:3cm;
- padding-left: 1.9cm;
- min-height: 0.6cm;
- }
- .direccion_partida_label{
- width:2cm;
- padding-left: 3.2cm;
- min-height: 0.6cm;
- }
- .direccion_partida{
- width:15cm;
- padding-left: 1.2cm;
- min-height: 0.6cm;
- }
- .ciudad_label{
- width:0.5cm;
- min-height: 0.6cm;
- }
- .ciudad{
- width:3cm;
- padding-left: 0.2cm;
- min-height: 0.6cm;
- }
- .departamento_label{
- width:1cm;
- min-height: 0.6cm;
- }
- .departamento{
- width:3cm;
- min-height: 0.6cm;
- }
- .direccion_llegada_label{
- width:2cm;
- min-height: 1.0cm;
- }
- .direccion_llegada{
- width:9cm;
- padding-left: 3.1cm;
- min-height: 1.0cm;
- }
- .ciudad2_label{
- width:1.5cm;
- min-height: 1.0cm;
- }
- .ciudad2{
- width:3cm;
- min-height: 1.0cm;
- }
- .departamento2_label{
- width:0.2cm;
- min-height: 1.0cm;
- }
- .departamento2{
- width:3cm;
- min-height: 1.0cm;
- }
- .km_label{
- width:0.1cm;
- min-height: 1.5cm;
- }
- .km{
- width:3cm;
- padding-left: 3.3cm;
- min-height: 1.5cm;
- }
- .cambio_fecha_label{
- width:3cm;
- min-height: 1.5cm;
- }
- .cambio_fecha{
- width:3cm;
- padding-left: 7.5cm;
- min-height: 1.5cm;
- }
- .espacio{
- width:1.1cm;
- }
- .motivo_cambio_label{
- width:3cm;
- min-height: 5.9cm;
- }
- .motivo_cambio{
- width:3cm;
- padding-left: 1.2cm;
- min-height: 5.9cm;
- }
- .espacio1{
- width:2.9cm;
- }
- .vehiculo_nombre_label{
- width:1.5cm;
- min-height: 1.1cm;
- }
- .vehiculo_nombre{
- width:3cm;
- padding-left: 0.5cm;
- min-height: 1.1cm;
- }
- .vehiculo_chapa_label{
- width:1cm;
- min-height: 1.1cm;
- }
- .vehiculo_chapa{
- width:3cm;
- padding-left: 4.8cm;
- min-height: 1.1cm;
- }
- .remolque_chapa_label{
- width:10cm;
- min-height: 2.8cm;
- }
- .remolque_chapa{
- width:3cm
- padding-left: 2.2cm;
- min-height: 2.8cm;
- }
- .conductor_nombre_label{
- width:3cm;
- min-height: 1.4cm;
- }
- .conductor_nombre{
- width:3cm;
- padding-left: 1.8cm;
- min-height: 1.4cm;
- }
- .conductor_ruc_label{
- width:2cm;
- min-height: 1.4cm;
- }
- .conductor_ruc{
- width:3cm;
- min-height: 1.4cm;
- }
- .conductor_direccion_label{
- width:3cm;
- min-height: 1.5cm;
- }
- .conductor_direccion{
- width:3cm;
- min-height: 1.5cm;
- }
- .cab-articulos{
- height: 2.2cm;
- padding-left: 1.4cm;
- width: 100%;
- clear: both;
- }
- .articulos{
- height: 4.65cm;
- padding-left: 1.4cm;
- width: 100%;
- }
- .art-col1{
- width:1.4cm;
- text-align: center;
- }
- .art-col2{
- padding-left: 0.7cm;
- width:1.2cm;
- text-align: center;
- }
- .art-col3{
- padding-left: 1cm;
- width:11.4cm;
- }
- </style>
- <div class="logo1"></div>
- <!-- <h2><center>NOTA DE REMISIÓN <span t-field="o.name"></span></center></h2> -->
- <div class="fecha_emision_data"><span t-field="o.initial_transfer_date" t-field-options='{"format": "dd MMM yyyy"}'/></div>
- <div class="logo5"></div>
- <!-- <h5>1. DESTINATARIO DE LA MERCADERÍA</h5> -->
- <table width="100%">
- <tr>
- <td class="cli_nombre_label"></td>
- <td class="cli_nombre"><span t-field="o.partner_id"/></td>
- <td class="cli_ruc_label"> </td>
- <td class="cli_ruc"><span t-field="o.partner_ruc"/></td>
- </tr>
- <div class="blank_space"/>
- <tr>
- <td class="cli_telef_label"> </td>
- <td class="cli_telef"><span t-field="o.partner_street"/></td>
- <td class="cli_movil_label"> </td>
- <td class="cli_movil"><span t-field="o.partner_mobile"/></td>
- </tr>
- </table>
- <!-- </div> -->
- <div class="blank_space"/>
- <div class="logo"></div>
- <div class="blank_space"/>
- <!-- <div class="div_border"> -->
- <!-- <h5>3. MOTIVO DEL TRANSLADO</h5> -->
- <table width="100%">
- <tr>
- <td class="motivo_data_label">
- </td>
- <td class="motivo_data">
- <t t-if="o.is_sale">
- <span>Venta</span>
- </t>
- <t t-if="o.is_export">
- <span>Exportación</span>
- </t>
- <t t-if="o.is_consignment">
- <span>Consignación</span>
- </t>
- <t t-if="o.is_intertal_transfer">
- <span>Traslado entre locales de la misma empresa</span>
- </t>
- <t t-if="o.is_repair_transfer">
- <span>Traslado de Bienes para Reparación</span>
- </t>
- <t t-if="o.is_exhibition">
- <span>Exhibición, demostración</span>
- </t>
- <t t-if="o.is_purchase">
- <span>Compra</span>
- </t>
- <t t-if="o.is_import">
- <span>Importación</span>
- </t>
- <t t-if="o.is_return">
- <span>Devolución</span>
- </t>
- <t t-if="o.is_transformation_transfer">
- <span>Traslado de Bienes para la Transformación</span>
- </t>
- <t t-if="o.is_movil_transfer">
- <span>Traslado por Emisión móvil</span>
- </t>
- <t t-if="o.is_fair">
- <span>Participación en Ferias</span>
- </t>
- </td>
- <td class="comprobante_data_label"></td>
- <td class="comprobante_data"><span t-field="o.origin"/></td>
- </tr>
- <tr>
- <td class="comprobante_label"></td>
- <td class="comprobante"><span t-field="o.sale_voucher"/></td>
- <td class="timbrado_label">
- </td>
- <td class="timbrado"><span t-field="o.name"/></td>
- </tr>
- <tr>
- <td class="expedicion_label">
- </td>
- <td class="expedicion"><span t-field="o.initial_transfer_date" t-field-options='{"format": "dd/MM/yyyy"}'/></td>
- </tr>
- </table>
- <!-- </div> -->
- <!-- <h5>2. DATOS DEL ENVÍO</h5> -->
- <div class="blank_space1"/>
- <table width="100%">
- <tr>
- <td class="fecha_inicio_label"> </td>
- <td class="fecha_inicio"><span t-field="o.initial_transfer_date" t-field-options='{"format": "dd/MM/yyyy"}'/></td>
- <td class="fecha_termino_label"> </td>
- <!-- <td class="fecha_termino">06/09/2019</td> -->
- <td class="fecha_termino"><span t-field="o.finish_transfer_date" t-field-options='{"format": "dd/MM/yyyy"}'/></td>
- </tr>
- <tr>
- <div class="blank_space"/>
- </tr>
- <tr>
- <td class="direccion_partida_label"> </td>
- <td class="direccion_partida" colspan="3"><span t-field="o.partner_company.street"/></td>
- </tr>
- <tr></tr><tr></tr>
- <tr>
- <td class="ciudad_label"> </td>
- <td class="ciudad"><span t-field="o.partner_company.city"/></td>
- <td class="departamento_label"> </td>
- <td class="departamento"><span t-field="o.partner_state"/></td>
- </tr>
- <tr></tr><tr></tr>
- <tr>
- <td class="direccion_llegada_label"> </td>
- <td class="direccion_llegada" colspan="3"><span t-field="o.partner_id.street"/> <span t-field="o.partner_id.street2"/>, <span t-field="o.partner_id.city"/></td>
- </tr>
- <tr></tr><tr></tr>
- <tr>
- <td class="ciudad2_label"> </td>
- <td class="ciudad2"><span t-field="o.partner_city"/></td>
- <td class="departamento2_label"> </td>
- <td class="departamento2"><span t-field="o.partner_state"/></td>
- </tr>
- </table>
- <div class="blank_space"/>
- <table width="70%">
- <tr>
- <td class="km_label"> </td>
- <td class="km"><span t-field="o.obs_remision"/></td>
- </tr>
- <tr>
- <td class="spacio"> </td>
- </tr>
- <tr>
- <td class="cambio_fecha_label"> </td>
- <td class="cambio_fecha"><span t-field="o.obs_remision"/></td>
- </tr>
- <td class="spacio"> </td>
- <tr>
- </tr>
- <tr>
- <td class="motivo_cambio_label"> </td>
- <td class="motivo_cambio"><span t-field="o.obs_remision"/></td>
- </tr>
- </table>
- <!-- </div> -->
- <div class="blank_space"/>
- <div class="blank_space"/>
- <div class="blank_space"/>
- <div class="blank_space"/>
- <!-- <div class="div_border"> -->
- <!-- <h5>4. DATOS DEL TRANSPORTISTA Y DEL COMPROBANTE DE VENTA POR EL SERVICIO DE TRANSPORTE</h5> -->
- <!-- <table width="100%">
- <tr>
- <td class="vend_nombre_label">Nombre y Apellido: <span t-field="o.user_id"/></td>
- </tr>
- <tr>
- <td class="vend_telef_label">Teléfono: </td>
- <td class="vend_telef"><span t-field="o.user_phone"/> <span t-field="o.user_mobile"/></td>
- </tr>
- <tr>
- <td class="transportista_nombre_label">Nombre o Razón Social del Transportista: <span t-field="o.logistic_company_id"/></td>
- </tr>
- <tr>
- <td class="transportista_ruc_label">R.U.C. del transportista: <span t-field="o.logistic_ruc"/></td>
- </tr>
- </table> -->
- <!-- </div> -->
- <!-- <div class="blank_space"/> -->
- <!-- <div class="div_border"> -->
- <!-- <h5>5. DATOS DEL VEHICULO DE TRANSPORTE</h5> -->
- <div class="spacio1"> </div>
- <div class="blank_space"/>
- <div class="blank_space"/>
- <table width="100%">
- <tr>
- <td class="vehiculo_nombre_label"></td>
- <td class="vehiculo_nombre"><span t-field="o.vehicle_name"/></td>
- </tr>
- <tr>
- <td class="vehiculo_chapa_label"></td>
- <td class="vehiculo_chapa"><span t-field="o.vehicle_plate"/></td>
- </tr>
- </table>
- <table width="100%">
- <tr>
- <td class="remolque_chapa_label"></td>
- <td class="remolque_chapa"><span t-field="o.vehicle_plate"/></td>
- </tr>
- </table>
- <!-- </div> -->
- <div class="blank_space"/>
- <div class="blank_space"/>
- <div class="blank_space"/>
- <div class="blank_space"/>
- <div class="blank_space"/>
- <!-- <div class="div_border"> -->
- <!-- <h5>6. DATOS DEL CONDUCTOR DEL VEHICULO</h5> -->
- <table width="100%">
- <tr>
- <td class="conductor_nombre_label"> </td>
- <td class="conductor_nombre"><span t-field="o.driver_id"/></td>
- <td class="conductor_ruc_label"> </td>
- <td class="conductor_ruc"><span t-field="o.logistic_ruc"/></td>
- </tr>
- <tr>
- <td class="conductor_direccion_label"></td>
- <td class="conductor_direccion" colspan="3"><span t-field="o.driver_id.street"/> <span t-field="o.driver_id.street2"/></td>
- </tr>
- </table>
- <!-- </div> -->
- <div class="cab-articulos"> </div>
- <div class="articulos">
- <table class="tab-articulos">
- <tr t-foreach="o.nota_line" t-as="l">
- <td class="art-col1"><span t-esc="'%.0f'%l.product_uom_qty"/></td>
- <td class="art-col2"><span t-field="l.product_id.uom_id"/></td>
- <td class="art-col3"><span t-field="l.product_id.name"/></td>
- </tr>
- </table>
- </div>
- </div>
- </t>
- <!-- </t> -->
- </t>
- </template>
- </data>
- </openerp>
|