[FIX] Covers the case where name and ref are strictly the same in account_move_line

pull/826/head
Cyril Vinh-Tung 2019-07-31 00:38:19 -10:00 committed by Víctor Martínez
parent 60140919b0
commit 5af15b1378
3 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@
{
'name': 'Partner Statement',
'version': '12.0.1.0.3',
'version': '12.0.1.0.5',
'category': 'Accounting & Finance',
'summary': 'OCA Financial Reports',
'author': "Eficent, Odoo Community Association (OCA)",

View File

@ -76,6 +76,9 @@
<t t-if="line['ref'] not in line['name']">
<span t-esc="line['ref']"/>
</t>
<t t-if="line['name'] == line['ref']">
<span t-esc="line['name']"/>
</t>
</t>
</t>
<t t-if="line['name'] == '/'">

View File

@ -68,6 +68,9 @@
<t t-if="line['ref'] not in line['name']">
<span t-esc="line['ref']"/>
</t>
<t t-if="line['ref'] == line['name']">
<span t-esc="line['name']"/>
</t>
</t>
</t>
<t t-if="line['name'] == '/'">