|
@@ -3,13 +3,34 @@
|
|
|
<data>
|
|
|
|
|
|
|
|
|
- <report id="informe_recibo_anillos"
|
|
|
- model="account.voucher"
|
|
|
- string="Recibo"
|
|
|
- report_type="qweb-pdf"
|
|
|
- name="recibo_anillos.recibo_anillos"
|
|
|
- file="recibo_anillos.recibo_anillos"
|
|
|
- />
|
|
|
+ <report id="informe_recibo_anillos"
|
|
|
+ model="account.voucher"
|
|
|
+ string="Recibo"
|
|
|
+ report_type="qweb-pdf"
|
|
|
+ name="recibo_anillos.recibo_anillos"
|
|
|
+ file="recibo_anillos.recibo_anillos"
|
|
|
+ />
|
|
|
+
|
|
|
+ <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">150</field>
|
|
|
+ <field name="page_width">193</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_anillos.informe_recibo_anillos" model="ir.actions.report.xml">
|
|
|
+ <field name="paperformat_id" ref="recibo_anillos.paperformat_lowmargin" />
|
|
|
+ </record>
|
|
|
|
|
|
<template id="recibo_anillos">
|
|
|
<t t-call="report.html_container">
|
|
@@ -159,7 +180,7 @@
|
|
|
<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: 250px;max-width: 50px;"/>
|
|
|
+ <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 300px;max-width: 250px;"/>
|
|
|
</left>
|
|
|
|
|
|
|
|
@@ -206,7 +227,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<div class="amount">
|
|
|
- <strong>Monto pagado: </strong><i t-field="o.amount"/> <span t-field="o.currency_id.symbol"/>
|
|
|
+ <strong>Monto pagado: </strong><i t-esc="'{0:,.0f}'.format(o.amount)"/> <span t-field="o.currency_id.symbol"/>
|
|
|
</div>
|
|
|
</tr>
|
|
|
</br>
|
|
@@ -239,13 +260,13 @@
|
|
|
|
|
|
|
|
|
<div class="divisoria"> </div>
|
|
|
- <br>
|
|
|
+
|
|
|
<div class="col-xs-6">
|
|
|
<div class="firma">
|
|
|
<strong>Firma: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _</strong>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </br>
|
|
|
+ </br> -->
|
|
|
|
|
|
<br>
|
|
|
</br>
|