account_usability: Add link to Outstanding Payments/Receipts in journal dashboard

This commit is contained in:
Alexis de Lattre
2022-09-13 23:27:19 +02:00
parent daddd6c17c
commit f4687b886c
2 changed files with 19 additions and 0 deletions

View File

@@ -39,6 +39,9 @@
<xpath expr="//div[@name='latest_statement']/.." position="attributes">
<attribute name="t-if">dashboard.has_at_least_one_statement and dashboard.account_balance != dashboard.last_balance and !record.hide_bank_statement_balance.raw_value</attribute>
</xpath>
<t t-esc="dashboard.outstanding_pay_account_balance" position="replace">
<a name="open_outstanding_payments" type="object" title="Outstanding Payments/Receipts"><t t-esc="dashboard.outstanding_pay_account_balance"/></a>
</t>
</field>
</record>