|
@@ -0,0 +1,307 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<openerp>
|
|
|
+<data>
|
|
|
+
|
|
|
+
|
|
|
+ <report id="informe_recibo_nandetv"
|
|
|
+ model="account.voucher"
|
|
|
+ string="Recibo"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="recibo_nandetv.recibo_nandetv"
|
|
|
+ file="recibo_nandetv.recibo_nandetv"
|
|
|
+ />
|
|
|
+
|
|
|
+ <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">4</field>
|
|
|
+ <field name="margin_bottom">3</field>
|
|
|
+ <field name="margin_left">3</field>
|
|
|
+ <field name="margin_right">3</field>
|
|
|
+ <field name="header_line" eval="False" />
|
|
|
+ <field name="header_spacing">3</field>
|
|
|
+ <field name="dpi">90</field>
|
|
|
+ </record>
|
|
|
+
|
|
|
+
|
|
|
+ <record id="recibo_nandetv.informe_recibo_nandetv" model="ir.actions.report.xml">
|
|
|
+ <field name="paperformat_id" ref="recibo_nandetv.paperformat_lowmargin" />
|
|
|
+ </record>
|
|
|
+
|
|
|
+ <template id="recibo_nandetv">
|
|
|
+ <t t-call="report.html_container">
|
|
|
+ <div class="page">
|
|
|
+
|
|
|
+ <style type="text/css">
|
|
|
+ body{
|
|
|
+ font-size: 6mm;
|
|
|
+ font-family: Arial;
|
|
|
+ }
|
|
|
+ div{
|
|
|
+ padding: 0px;
|
|
|
+ }
|
|
|
+ .pagina{
|
|
|
+ width:19.3cm;
|
|
|
+ padding-left: 1.5cm;
|
|
|
+ padding-right: 1.5cm;
|
|
|
+ }
|
|
|
+ .logo{
|
|
|
+ height: 0.25cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .logo2{
|
|
|
+ height: 0.25cm;
|
|
|
+ width: 100%;
|
|
|
+ top: 0px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion2{
|
|
|
+ width: 13cm;
|
|
|
+ font-size: 10px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion3{
|
|
|
+ width: 15cm;
|
|
|
+ font-size: 10px
|
|
|
+ padding-top: 0.5cm;
|
|
|
+ margin-left: 0.4cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion{
|
|
|
+ width: 11.2cm;
|
|
|
+ font-size: 13px;
|
|
|
+ padding-top: 0.5cm;
|
|
|
+ margin-left: 0.4cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion1{
|
|
|
+ width: 11.2cm;
|
|
|
+ font-size: 12px;
|
|
|
+ padding-top: 0.2cm;
|
|
|
+ margin-left: 0.4cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .descripcion4{
|
|
|
+ width: 15cm;
|
|
|
+ font-size: 10px;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .email{
|
|
|
+ width: 13cm;
|
|
|
+ font-size: 10px;
|
|
|
+ margin-left: 0.4cm;
|
|
|
+ float: left;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ciudad{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 10px;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .tel{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 10px;
|
|
|
+ margin-left: 0.4cm;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .rucdata{
|
|
|
+ width: 13cm;
|
|
|
+ float: left;
|
|
|
+ font-size: 10px;
|
|
|
+ margin-left: 0.4cm;
|
|
|
+ min-height: 0cm;
|
|
|
+ }
|
|
|
+ .divisoria{
|
|
|
+ height: 0.5cm;
|
|
|
+ clear: both;
|
|
|
+ }
|
|
|
+ diva {
|
|
|
+ text-decoration-line: overline;
|
|
|
+ }
|
|
|
+ .titulo{
|
|
|
+ width: 19.2cm;
|
|
|
+ text-align: center;
|
|
|
+ margin-left: 0.8cm;
|
|
|
+ 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">
|
|
|
+
|
|
|
+ <left>
|
|
|
+ <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 200px;max-width: 200px;"/>
|
|
|
+ </left>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <div class="col-xs-6">
|
|
|
+ <tr>
|
|
|
+ <div class="logo2"></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion3"><b>nandetv</b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="descripcion1"><b>Av Dr Ignacio Alberto Pane,</b></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="email"><b>Ciudad del Este - Paraguay</b></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ <tr>
|
|
|
+ <div class="tel"><b>Tel.: (061) 579 233</b></div>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <div class="rucdata"><b>R.U.C. N° 80088298-9</b></div>
|
|
|
+ </tr>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="divisoria"> </div>
|
|
|
+
|
|
|
+ <hr width="125%" style="border: 2px dashed #C0C0C0" color="#FFFFFF" size="6"></hr>
|
|
|
+ <t t-foreach="[1]" t-as="i">
|
|
|
+ <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-esc="'{0:,.0f}'.format(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 en concepto de pago por <span t-field="o.comment_obs"/></p>
|
|
|
+ </tr>
|
|
|
+ <!-- <tr>
|
|
|
+ <p t-if="o.currency_id.id==166"><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>
|
|
|
+
|
|
|
+ <!-- <p>por concepto de pago Factura Nro <span t-field="o.reference"/></p> -->
|
|
|
+
|
|
|
+
|
|
|
+ <div class="divisoria"> </div>
|
|
|
+ <!-- <br>
|
|
|
+ <div class="col-xs-6">
|
|
|
+ <div class="firma">
|
|
|
+ <strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </br> -->
|
|
|
+
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ <br>
|
|
|
+ </br>
|
|
|
+ </t> <!-- -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </t>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </t>
|
|
|
+ </template>
|
|
|
+</data>
|
|
|
+</openerp>
|