[FIX] Covers the case where name and ref are strictly the same in account_move_line
This commit is contained in:
committed by
Miquel Raïch
parent
a9bdd307d1
commit
5e60bc0149
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Partner Statement',
|
'name': 'Partner Statement',
|
||||||
'version': '12.0.1.0.3',
|
'version': '12.0.1.0.5',
|
||||||
'category': 'Accounting & Finance',
|
'category': 'Accounting & Finance',
|
||||||
'summary': 'OCA Financial Reports',
|
'summary': 'OCA Financial Reports',
|
||||||
'author': "Eficent, Odoo Community Association (OCA)",
|
'author': "Eficent, Odoo Community Association (OCA)",
|
||||||
|
|||||||
@@ -76,6 +76,9 @@
|
|||||||
<t t-if="line['ref'] not in line['name']">
|
<t t-if="line['ref'] not in line['name']">
|
||||||
<span t-esc="line['ref']"/>
|
<span t-esc="line['ref']"/>
|
||||||
</t>
|
</t>
|
||||||
|
<t t-if="line['name'] == line['ref']">
|
||||||
|
<span t-esc="line['name']"/>
|
||||||
|
</t>
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
<t t-if="line['name'] == '/'">
|
<t t-if="line['name'] == '/'">
|
||||||
|
|||||||
@@ -68,6 +68,9 @@
|
|||||||
<t t-if="line['ref'] not in line['name']">
|
<t t-if="line['ref'] not in line['name']">
|
||||||
<span t-esc="line['ref']"/>
|
<span t-esc="line['ref']"/>
|
||||||
</t>
|
</t>
|
||||||
|
<t t-if="line['ref'] == line['name']">
|
||||||
|
<span t-esc="line['name']"/>
|
||||||
|
</t>
|
||||||
</t>
|
</t>
|
||||||
</t>
|
</t>
|
||||||
<t t-if="line['name'] == '/'">
|
<t t-if="line['name'] == '/'">
|
||||||
|
|||||||
Reference in New Issue
Block a user