mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
62 lines
2.6 KiB
XML
62 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!--
|
|
Copyright 2019-2020 Brainbean Apps (https://brainbeanapps.com)
|
|
Copyright 2019-2020 Dataplug (https://dataplug.io)
|
|
Copyright 2021 Therp BV (https://therp.nl).
|
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
-->
|
|
<odoo>
|
|
<record model="ir.ui.view" id="view_account_journal_form">
|
|
<field name="name">account.journal.form</field>
|
|
<field name="model">account.journal</field>
|
|
<field name="inherit_id" ref="account.view_account_journal_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath
|
|
expr="//notebook//field[@name='bank_statements_source']/.."
|
|
position="after"
|
|
>
|
|
<group
|
|
name="online_bank_statements"
|
|
string="Online Bank Statements (OCA)"
|
|
groups="account.group_account_user"
|
|
invisible="bank_statements_source != 'online'"
|
|
>
|
|
|
|
<label
|
|
for="online_bank_statement_provider"
|
|
string="Provider"
|
|
required="bank_statements_source == 'online'"
|
|
class="oe_edit_only"
|
|
groups="account.group_account_user"
|
|
/>
|
|
<div>
|
|
<field
|
|
name="online_bank_statement_provider"
|
|
nolabel="1"
|
|
required="bank_statements_source == 'online'"
|
|
class="oe_inline"
|
|
groups="account.group_account_user"
|
|
/>
|
|
<field name="online_bank_statement_provider_id" invisible="1" />
|
|
<button
|
|
name="action_open_online_bank_statement_provider"
|
|
type="object"
|
|
string="Configuration"
|
|
invisible="not online_bank_statement_provider_id"
|
|
/>
|
|
</div>
|
|
</group>
|
|
</xpath>
|
|
<xpath expr="//div[@name='button_box']" position="inside">
|
|
<button
|
|
type="action"
|
|
name="%(action_online_bank_statements_pull_wizard)d"
|
|
invisible="bank_statements_source != 'online'"
|
|
string="Pull Online Bank Statement"
|
|
groups="account.group_account_user"
|
|
/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|