|
@@ -0,0 +1,289 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+
|
|
|
+
|
|
|
+ <report id="informe_recibo_wenet"
|
|
|
+ model="account.voucher"
|
|
|
+ string="Recibo"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="recibo_wenet.recibo_wenet"
|
|
|
+ file="recibo_wenet.recibo_wenet"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ <record id="paperformat_lowmargin" model="report.paperformat">
|
|
|
+ <field name="name">A4</field>
|
|
|
+ <field name="default" eval="True" />
|
|
|
+ <field name="format">custom</field>
|
|
|
+ <field name="page_height">297</field>
|
|
|
+ <field name="page_width">210</field>
|
|
|
+ <field name="orientation">Portrait</field>
|
|
|
+ <field name="margin_top">3</field>
|
|
|
+ <field name="margin_bottom">3</field>
|
|
|
+ <field name="margin_left">2</field>
|
|
|
+ <field name="margin_right">2</field>
|
|
|
+ <field name="header_line" eval="False" />
|
|
|
+ <field name="header_spacing">3</field>
|
|
|
+ <field name="dpi">90</field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+
|
|
|
+ <record id="recibo_wenet.informe_recibo_wenet" model="ir.actions.report.xml">
|
|
|
+ <field name="paperformat_id" ref="recibo_wenet.paperformat_lowmargin" />
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <template id="recibo_wenet">
|
|
|
+ <t t-call="report.html_container">
|
|
|
+ <div class="page">
|
|
|
+ <style type="text/css">
|
|
|
+ body{
|
|
|
+ font-size: 7.5mm;
|
|
|
+ font-family: Arial;
|
|
|
+ }
|
|
|
+ div{
|
|
|
+ padding: 0px;
|
|
|
+ }
|
|
|
+ .pagina{
|
|
|
+ width:19.3cm;
|
|
|
+ padding-left: 1.5cm;
|
|
|
+ padding-right: 1.5cm;
|
|
|
+ }
|
|
|
+ .descripcion{
|
|
|
+ width: 11.2cm;
|
|
|
+ font-size: 13px;
|
|
|
+ padding-top: 0.5cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion1{
|
|
|
+ width: 11.2cm;
|
|
|
+ font-size: 18px;
|
|
|
+ padding-top: 0.2cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion2{
|
|
|
+ width: 13cm;
|
|
|
+ font-size: 12px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion3{
|
|
|
+ width: 15cm;
|
|
|
+ font-size: 12px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .descripcion4{
|
|
|
+ width: 15cm;
|
|
|
+ font-size: 12px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .email{
|
|
|
+ width: 13cm;
|
|
|
+ font-size: 12px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ciudad{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 12px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .tel{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 10px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .rucdata{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 12px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .divisoria{
|
|
|
+ height: 0.5cm;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ diva {
|
|
|
+ text-decoration-line: overline;
|
|
|
+ }
|
|
|
+ .titulo{
|
|
|
+ width: 19.2cm;
|
|
|
+ text-align: center;
|
|
|
+ width: 100%;
|
|
|
+ min-height: 0.9cm;
|
|
|
+ }
|
|
|
+ .number{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ margin-left: 1cm;
|
|
|
+ font-size: 15px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .date{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ margin-left: 1cm;
|
|
|
+ font-size: 15px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .amount{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ margin-left: 1cm;
|
|
|
+ font-size: 15px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .currency{
|
|
|
+ width: 19cm;
|
|
|
+ float: left;
|
|
|
+ margin-left: 1cm;
|
|
|
+ font-size: 15px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .firma{
|
|
|
+ width: 19cm;
|
|
|
+ float: left;
|
|
|
+ margin-left: 1cm;
|
|
|
+ font-size: 15px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ margen{
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ div{
|
|
|
+ padding: 0px;
|
|
|
+ }
|
|
|
+
|
|
|
+ </style>
|
|
|
+
|
|
|
+ <t t-foreach="docs" t-as="o">
|
|
|
+ <div class="pagina">
|
|
|
+ <div class="row">
|
|
|
+ <!-- <div class="col-xs-6">
|
|
|
+ <center>
|
|
|
+ <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 250px;max-width: 80px;"/>
|
|
|
+ </center>
|
|
|
+ </div> -->
|
|
|
+ <div class="col-xs-6">
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion">
|
|
|
+ </div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion1"><b><i>FERRETERIA wenet</i></b></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion2"><b>de Mazapy S.A.</b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion3"><b></b></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion4"><b>Avda. Las Residentas - Ruta 10 </b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="email"><b>Katueté - Paraguay</b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="ciudad"><b></b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="tel"><b>(0983) 272496 - (0981) 845372</b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="rucdata"><b>R.U.C. N° 80085177-3 </b></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="divisoria"> </div>
|
|
|
+ <div class="divisoria"> </div>
|
|
|
+ <hr width="125%" style="border: 2px dashed #C0C0C0" color="#000000" size="6"></hr>
|
|
|
+ <div class="divisoria"> </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="titulo" >
|
|
|
+ <h3 class="text-center"><strong> RECIBO DE DINERO</strong></h3>
|
|
|
+ <h4 class="text-center"></h4>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="col-xs-12">
|
|
|
+
|
|
|
+ <br>
|
|
|
+ <tr>
|
|
|
+ <div class="number"><strong>Numero de Pago: </strong><i t-field="o.number"/></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="date"><strong>Fecha: </strong><span t-field="o.date" t-field-options='{"format": "d MMMM y"}'/></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="amount">
|
|
|
+ <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
|
|
|
+ </div>
|
|
|
+ </tr>
|
|
|
+ </br>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+
|
|
|
+ <div class="col-xs-12">
|
|
|
+ <br>
|
|
|
+ <div class="currency">
|
|
|
+ <p t-if="o.currency_id.id==3">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Dolares en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==20">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Pesos Argentinos en concepto de pago por ........................................................................................ de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==7">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Reales en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <p t-if="o.currency_id.id==1">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Euros en concepto de pago por ......................................................................................... de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ <tr>
|
|
|
+ <p t-if="o.currency_id.id==166">Recibi de <b t-field="o.partner_id.name"/> o a su orden el monto de <span t-esc="convertir(o.amount,o.currency_id.en_letras1)"/>Guaranies.</p>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <p t-if="o.currency_id.id==166">En concepto de: <span t-field="o.comment_obs"/></p>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <p t-if="o.currency_id.id==166">de la Factura Nro <span t-field="o.reference"/></p>
|
|
|
+ </tr>
|
|
|
+ </div>
|
|
|
+ </br>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="divisoria"> </div>
|
|
|
+ <br>
|
|
|
+ <div class="col-xs-6">
|
|
|
+ <div class="firma">
|
|
|
+ <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </br>
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </template>
|
|
|
+</data>
|
|
|
+</openerp>
|