Browse Source

[FIX] fix paperformat for open invoice and create row for balance account

pull/196/head
Ciro Urselli 9 years ago
committed by Leonardo Pistone
parent
commit
297029fce2
  1. 4
      account_financial_report_qweb/report/templates/open_invoice_report.xml
  2. 7
      account_financial_report_qweb/reports.xml

4
account_financial_report_qweb/report/templates/open_invoice_report.xml

@ -20,7 +20,7 @@
<h6><span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/></h6>
</div>
<div class="col-xs-4 text-center">
<img t-if="res_company.logo" t-att-src="'data:image/png;base64,%s' % res_company.logo" style="max-height: 50px;"/>
<img t-if="res_company.logo" t-att-src="'data:image/png;base64,%s' % res_company.logo" style="max-height: 40px;"/>
</div>
<div class="col-xs-4 text-right">
<npage>
@ -106,7 +106,7 @@
</tbody>
</table>
</t>
<table>
<table class="table table-bordered table-condensed">
<tbody><tr><h2>
<td colspan="9"><strong><span t-esc="account"/> Comulate Balance</strong></td>
<td class="text-right">0</td>

7
account_financial_report_qweb/reports.xml

@ -15,10 +15,9 @@
<record id="open_invoice_report_format_a4_horizontal" model="report.paperformat">
<field name="name">Open Invoice Report Internal A4 Horizontal</field>
<field name="margin_top">10</field>
<field name="margin_bottom">10</field>
<field name="header_line" eval="True"/>
<field name="header_spacing">10</field>
<field name="margin_top">30</field>
<field name="margin_bottom">20</field>
<field name="header_spacing">20</field>
<field name="orientation">Landscape</field>
</record>

Loading…
Cancel
Save