Browse Source

fix crash if empty fiscalyear

pull/367/head
Leonardo Pistone 8 years ago
committed by Jordi Ballester
parent
commit
0fc8003692
  1. 6
      account_financial_report_qweb/report/templates/general_ledger.xml

6
account_financial_report_qweb/report/templates/general_ledger.xml

@ -34,7 +34,11 @@
<div class="act_as_cell">Target Moves</div>
</div>
<div class="act_as_row">
<div class="act_as_cell"><span t-field="o.fiscalyear.name"/></div>
<div class="act_as_cell">
<t t-if="o.fiscalyear">
<span t-field="o.fiscalyear.name"/>
</t>
</div>
<t t-if="o.fiscalyear or o.start_date or o.end_date">
<div class="act_as_cell">
From:

Loading…
Cancel
Save