Files
bank-statement-import/account_statement_import/views/account_journal.xml
Xavier Bouquiaux 201070e507 [IMP] account_statement_import : menu
odoo has the same kind of module which add the same menus with the same name
i added oca to the menu's name so it's easier to know which menu a client who has the 2 modules should use
2022-08-18 10:15:50 +02:00

32 lines
1.1 KiB
XML

<?xml version="1.0" ?>
<!--
Copyright 2004-2020 Odoo S.A.
Copyright 2020 Akretion France (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
Licence LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0).
-->
<odoo>
<record id="journal_dashboard_view_inherit" model="ir.ui.view">
<field name="model">account.journal</field>
<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_account_statement"
>Import (OCA)</a></span>
</xpath>
<xpath expr='//div[@name="bank_cash_commands"]' position="before">
<div t-if="journal_type == 'bank'">
<a
type="object"
name="import_account_statement"
>Import Statement (OCA)</a>
</div>
</xpath>
</field>
</record>
</odoo>