[FIX] bad condition on report_payment qweb view resulting in empty report

bzr revid: sle@openerp.com-20140414125522-v4obm4xreljizqje
This commit is contained in:
Simon Lejeune 2014-04-14 14:55:22 +02:00
parent 57fc6c4d55
commit 11a0b506d0
1 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@
</div>
<t t-foreach="docs" t-as="o">
<table class="table table-condensed" t-if="pos_payment_total(o)">
<table class="table table-condensed">
<thead>
<tr>
<td>
@ -70,12 +70,12 @@
<div class="row" t-if="pos_payment_total(o)">
<div class="col-xs-4 pull-right">
<table class="table table-condensed">
<tr>
<tr class="border-black">
<td>
<strong>Net Total:</strong>
<strong>Net Total</strong>
</td>
<td>
<strong t-esc="formatLang(pos_payment_total(o), currency_obj = res_company.currency_id)"/>
<td class="text-right">
<span t-esc="formatLang(pos_payment_total(o), currency_obj=res_company.currency_id)"/>
</td>
</tr>
</table>