mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-27 14:37:25 +00:00
174 lines
7.5 KiB
XML
174 lines
7.5 KiB
XML
<?xml version="1.0" ?>
|
|
<odoo>
|
|
|
|
<record id="ebics_userid_view_tree" model="ir.ui.view">
|
|
<field name="name">ebics.userid.tree</field>
|
|
<field name="model">ebics.userid</field>
|
|
<field name="arch" type="xml">
|
|
<tree decoration-muted="state != 'active_keys'">
|
|
<field name="name" />
|
|
<field name="signature_class" />
|
|
<field name="state" />
|
|
<field name="active" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="ebics_userid_view_form" model="ir.ui.view">
|
|
<field name="name">ebics.userid.form</field>
|
|
<field name="model">ebics.userid</field>
|
|
<field name="arch" type="xml">
|
|
<form string="EBICS UserID">
|
|
<header>
|
|
<button
|
|
name="ebics_init_1"
|
|
invisible="state != 'draft'"
|
|
string="EBICS Initialisation"
|
|
type="object"
|
|
class="oe_highlight"
|
|
help="Initialise EBICS Bank Keys"
|
|
/>
|
|
<button
|
|
name="ebics_init_2"
|
|
invisible="state != 'init'"
|
|
string="Account activated"
|
|
type="object"
|
|
class="oe_highlight"
|
|
help="EBICS Initialisation - Push this button when the account has been activated by the bank."
|
|
/>
|
|
<button
|
|
name="ebics_init_3"
|
|
invisible="state != 'get_bank_keys'"
|
|
string="Get Bank Keys"
|
|
type="object"
|
|
class="oe_highlight"
|
|
help="EBICS Initialisation - After the account has been activated the public bank keys must be downloaded and checked for consistency."
|
|
/>
|
|
<button
|
|
name="ebics_init_4"
|
|
invisible="state != 'to_verify'"
|
|
string="Bank Keys Verified"
|
|
type="object"
|
|
class="oe_highlight"
|
|
help="EBICS Initialisation - Push this button when the public have been checked for consistency."
|
|
/>
|
|
<button
|
|
name="change_passphrase"
|
|
string="Change Passphrase"
|
|
type="object"
|
|
class="oe_highlight"
|
|
invisible="not ebics_keys_found or state != 'active_keys'"
|
|
/>
|
|
<button
|
|
name="set_to_draft"
|
|
invisible="state != 'active_keys'"
|
|
string="Set to Draft"
|
|
type="object"
|
|
help="Set to Draft in order to reinitialize your bank connection."
|
|
/>
|
|
<button
|
|
name="set_to_get_bank_keys"
|
|
invisible="state != 'active_keys'"
|
|
string="Renew Bank Keys"
|
|
type="object"
|
|
help="Use this button to update the EBICS certificates of your bank."
|
|
/>
|
|
<button
|
|
name="set_to_active_keys"
|
|
invisible="state != 'draft'"
|
|
string="Force Active Keys"
|
|
type="object"
|
|
help="Use this button to bypass the EBICS initialization (e.g. in case you have manually transferred active EBICS keys from another system."
|
|
/>
|
|
<field name="state" widget="statusbar" />
|
|
</header>
|
|
<group name="invisible" invisible="1">
|
|
<field name="ebics_keys_found" />
|
|
<field name="ebics_keys_fn" />
|
|
<field name="ebics_version" />
|
|
<field name="ebics_passphrase_required" />
|
|
<field name="ebics_passphrase_invisible" />
|
|
<field name="ebics_passphrase_store_readonly" />
|
|
<field name="ebics_sig_passphrase_invisible" invisible="1" />
|
|
</group>
|
|
<group name="main" readonly="state != 'draft'">
|
|
<group name="main-left">
|
|
<field name="name" readonly="state != 'draft'" />
|
|
<field
|
|
name="ebics_passphrase"
|
|
password="True"
|
|
required="ebics_passphrase_required"
|
|
invisible="ebics_passphrase_invisible"
|
|
/>
|
|
<field
|
|
name="ebics_passphrase_store"
|
|
readonly="ebics_passphrase_store_readonly"
|
|
/>
|
|
<field
|
|
name="ebics_sig_passphrase"
|
|
password="True"
|
|
invisible="ebics_sig_passphrase_invisible"
|
|
/>
|
|
<field name="transaction_rights" />
|
|
<field name="active" />
|
|
</group>
|
|
<group name="main-right">
|
|
<field name="signature_class" readonly="state != 'draft'" />
|
|
<field
|
|
name="user_ids"
|
|
widget="many2many_tags"
|
|
options="{'no_create': True}"
|
|
/>
|
|
<!-- TODO: restore these fields after implementation of SWIFT SConnect
|
|
<field
|
|
name="swift_3skey"
|
|
invisible="signature_class == 'T'"
|
|
/>
|
|
<field name="swift_3skey_certificate_fn" invisible="1" />
|
|
<field
|
|
name="swift_3skey_certificate"
|
|
filename="swift_3skey_certificate_fn"
|
|
invisible="not swift_3skey"
|
|
required="swift_3skey"
|
|
/>
|
|
-->
|
|
<field name="ebics_key_x509" readonly="state != 'draft'" />
|
|
</group>
|
|
</group>
|
|
<group name="dn" invisible="not ebics_key_x509" readonly="state != 'draft'">
|
|
<div colspan="2" col="1">
|
|
<strong
|
|
>Distinguished Name attributes used to create self-signed X.509 certificates:</strong>
|
|
</div>
|
|
<group name="dn_l">
|
|
<field name="ebics_key_x509_dn_cn" readonly="state != 'draft'" />
|
|
<field name="ebics_key_x509_dn_o" readonly="state != 'draft'" />
|
|
<field name="ebics_key_x509_dn_l" readonly="state != 'draft'" />
|
|
<field name="ebics_key_x509_dn_c" readonly="state != 'draft'" />
|
|
</group>
|
|
<group name="dn_r">
|
|
<field name="ebics_key_x509_dn_e" readonly="state != 'draft'" />
|
|
<field name="ebics_key_x509_dn_ou" readonly="state != 'draft'" />
|
|
<field name="ebics_key_x509_dn_st" readonly="state != 'draft'" />
|
|
</group>
|
|
</group>
|
|
<group name="files">
|
|
<group colspan="2" name="ebics_ini_letter" invisible="not ebics_ini_letter">
|
|
<field name="ebics_ini_letter_fn" invisible="1" />
|
|
<field name="ebics_ini_letter" filename="ebics_ini_letter_fn" />
|
|
</group>
|
|
<group
|
|
colspan="2"
|
|
name="ebics_public_bank_keys"
|
|
invisible="not ebics_public_bank_keys"
|
|
>
|
|
<field name="ebics_public_bank_keys_fn" invisible="1" />
|
|
<field name="ebics_public_bank_keys" filename="ebics_public_bank_keys_fn" />
|
|
</group>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|