Browse Source

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

pull/654/head
Cyril Vinh-Tung 5 years ago
committed by mreficent
parent
commit
0987ea970d
  1. 2
      partner_statement/__manifest__.py
  2. 3
      partner_statement/views/activity_statement.xml
  3. 3
      partner_statement/views/outstanding_statement.xml

2
partner_statement/__manifest__.py

@ -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)",

3
partner_statement/views/activity_statement.xml

@ -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'] == '/'">

3
partner_statement/views/outstanding_statement.xml

@ -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'] == '/'">

Loading…
Cancel
Save