Browse Source

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

pull/652/head
Cyril Vinh-Tung 5 years ago
committed by mreficent
parent
commit
a8a5d8bdc9
  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', 'name': 'Partner Statement',
'version': '12.0.1.0.3',
'version': '12.0.1.0.4',
'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)",

3
partner_statement/views/activity_statement.xml

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

3
partner_statement/views/outstanding_statement.xml

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

Loading…
Cancel
Save