diff options
| author | eco-odoo <eco@odoo.com> | 2018-09-14 14:00:43 +0200 |
|---|---|---|
| committer | De Paoli Quentin <qdp@odoo.com> | 2018-09-21 09:47:56 +0200 |
| commit | 5ec554732e23e631d5d44daed1ebf4eebd517c40 (patch) | |
| tree | 337d620b4ae02ae98935c8791e4d334bc090b5b6 /addons/account/static/src/xml/account_reconciliation.xml | |
| parent | 8565348b0c572c6b6dc24e6fe4295d31f2f6dc35 (diff) | |
[IMP] account: improve reconciliation congratulation message
If there was only one reconciliation the (rounded) time per transaction
was often different from the real one.
Diffstat (limited to 'addons/account/static/src/xml/account_reconciliation.xml')
| -rw-r--r-- | addons/account/static/src/xml/account_reconciliation.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/account/static/src/xml/account_reconciliation.xml b/addons/account/static/src/xml/account_reconciliation.xml index 39cff76a6a6..ec9e668ac4f 100644 --- a/addons/account/static/src/xml/account_reconciliation.xml +++ b/addons/account/static/src/xml/account_reconciliation.xml @@ -52,7 +52,11 @@ <div t-name="reconciliation.done" class="done_message"> <h2>Congrats, you're all done!</h2> - <p>You reconciled <strong><t t-esc="number"/></strong> transactions in <strong><t t-esc="duration"/></strong>.<br/>That's on average <t t-esc="timePerTransaction"/> seconds per transaction.</p> + <p>You reconciled <strong><t t-esc="number"/></strong> transactions in <strong><t t-esc="duration"/></strong>. + <t t-if="number > 1"> + <br/>That's on average <t t-esc="timePerTransaction"/> seconds per transaction. + </t> + </p> <t t-if="context && context.active_model"> <p t-if="context['active_model'] === 'account.journal' || context['active_model'] === 'account.bank.statement'" class="actions_buttons"> <t t-if="context.journal_id"> |
