summaryrefslogtreecommitdiff
path: root/addons/account
diff options
context:
space:
mode:
Diffstat (limited to 'addons/account')
-rw-r--r--addons/account/static/src/xml/account_reconciliation.xml2
-rw-r--r--addons/account/views/report_invoice.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/static/src/xml/account_reconciliation.xml b/addons/account/static/src/xml/account_reconciliation.xml
index 1560cd92907..4699113253c 100644
--- a/addons/account/static/src/xml/account_reconciliation.xml
+++ b/addons/account/static/src/xml/account_reconciliation.xml
@@ -58,7 +58,7 @@
</t>
</p>
<t t-if="context &amp;&amp; context.active_model">
- <p t-if="context['active_model'] === 'account.journal' || context['active_model'] === 'account.bank.statement'" class="actions_buttons">
+ <p t-if="context['active_model'] === 'account.journal' || context['active_model'] === 'account.bank.statement' || context['active_model'] === 'account.bank.statement.import'" class="actions_buttons">
<t t-if="context.journal_id">
<button class="button_back_to_statement btn btn-secondary" t-att-data_journal_id='context.journal_id'>Go to bank statement(s)</button>
</t>
diff --git a/addons/account/views/report_invoice.xml b/addons/account/views/report_invoice.xml
index bd55957c7c1..c32413a4f1d 100644
--- a/addons/account/views/report_invoice.xml
+++ b/addons/account/views/report_invoice.xml
@@ -3,7 +3,7 @@
<data>
<template id="report_invoice_document">
<t t-call="web.external_layout">
- <t t-set="o" t-value="o.with_context({'lang': lang})"/>
+ <t t-set="o" t-value="o.with_context(lang=lang)" />
<t t-set="address">
<address t-field="o.partner_id" t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
<div t-if="o.partner_id.vat" class="mt16"><t t-esc="o.company_id.country_id.vat_label or 'Tax ID'"/>: <span t-field="o.partner_id.vat"/></div>