[FIX] account: fixed sale/purchase journal traceback

This commit is contained in:
qdp-odoo
2017-09-21 15:29:08 +02:00
parent 9ded3765bb
commit 09d3b269a3
+1 -1
View File
@@ -46,7 +46,7 @@
</thead>
<tbody>
<tr t-foreach="lines[o.id]" t-as="aml">
<td><span t-esc="aml.move_id.name &lt;&gt; '/' and aml.move_id.name or ('*'+str(aml.move_id.id))"/></td>
<td><span t-esc="aml.move_id.name != '/' and aml.move_id.name or ('*'+str(aml.move_id.id))"/></td>
<td><span t-field="aml.date"/></td>
<td><span t-field="aml.account_id.code"/></td>
<td><span t-esc="aml.sudo().partner_id and aml.sudo().partner_id.name[:23] or ''"/></td>