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

This commit is contained in:
Cyril Vinh-Tung
2019-07-31 00:38:19 -10:00
committed by Miquel Raïch
parent a9bdd307d1
commit 5e60bc0149
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'] == '/'">