[14.0][FIX] avoid conflict with enterprise module account_bank_statement_import

This commit is contained in:
Alfredo Zamora
2021-02-26 11:19:38 +01:00
committed by Maksym Yankin
parent 3fbfaf00e0
commit 09b8ad4353
2 changed files with 9 additions and 3 deletions

View File

@@ -12,11 +12,17 @@
<field name="inherit_id" ref="account.account_journal_dashboard_kanban_view" />
<field name="arch" type="xml">
<xpath expr='//span[@name="button_import_placeholder"]' position='inside'>
<span>or <a type="object" name="import_statement">Import</a></span>
<span>or <a
type="object"
name="import_account_statement"
>Import</a></span>
</xpath>
<xpath expr='//div[@name="bank_cash_commands"]' position="before">
<div t-if="journal_type == 'bank'">
<a type="object" name="import_statement">Import Statement</a>
<a
type="object"
name="import_account_statement"
>Import Statement</a>
</div>
</xpath>
</field>