[FIX] hr.expense report: do not crash when expense line has no analytic account

bzr revid: odo@openerp.com-20140425094240-vl4gs2ru2agov3ev
This commit is contained in:
Olivier Dony 2014-04-25 11:42:40 +02:00
parent 0efb6fc28b
commit ab1f312cbf
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
<td>
<span t-field="line.name"/>
<span t-field="line.description"/><br/>
<span t-field="line.analytic_account.complete_name"/>
<span t-field="line.analytic_account.complete_name" t-if="line.analytic_account"/>
</td>
<td style="text-center">
<span t-field="line.ref"/>