2020-07-05 06:24:57 +00:00
|
|
|
<?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">
|
2022-10-27 21:48:16 +00:00
|
|
|
<tree decoration-muted="state != 'active_keys'">
|
2022-05-10 19:40:54 +00:00
|
|
|
<field name="name" />
|
|
|
|
<field name="signature_class" />
|
|
|
|
<field name="state" />
|
|
|
|
<field name="active" />
|
2020-07-05 06:24:57 +00:00
|
|
|
</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">
|
2022-12-23 10:46:48 +00:00
|
|
|
<header>
|
2022-05-10 19:40:54 +00:00
|
|
|
<button
|
|
|
|
name="ebics_init_1"
|
|
|
|
states="draft"
|
|
|
|
string="EBICS Initialisation"
|
|
|
|
type="object"
|
|
|
|
class="oe_highlight"
|
|
|
|
help="Initialise EBICS Bank Keys"
|
|
|
|
/>
|
|
|
|
<button
|
|
|
|
name="ebics_init_2"
|
|
|
|
states="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"
|
|
|
|
states="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"
|
|
|
|
states="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"
|
|
|
|
attrs="{'invisible': [('ebics_keys_found', '=', False)]}"
|
|
|
|
/>
|
|
|
|
<button
|
|
|
|
name="set_to_draft"
|
|
|
|
states="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"
|
|
|
|
states="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"
|
|
|
|
states="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" />
|
2020-07-05 06:24:57 +00:00
|
|
|
</header>
|
2020-08-07 15:12:02 +00:00
|
|
|
<group name="main" attrs="{'readonly': [('state', '!=', 'draft')]}">
|
2022-05-10 19:40:54 +00:00
|
|
|
<field name="ebics_keys_found" invisible="1" />
|
|
|
|
<field name="ebics_keys_fn" invisible="1" />
|
2022-12-23 14:16:22 +00:00
|
|
|
<field name="ebics_version" invisible="1" />
|
2020-07-05 06:24:57 +00:00
|
|
|
<group name="main-left">
|
2022-05-10 19:40:54 +00:00
|
|
|
<field name="name" />
|
|
|
|
<field
|
|
|
|
name="ebics_passphrase"
|
|
|
|
password="True"
|
2023-03-25 18:23:33 +00:00
|
|
|
attrs="{'required': [('ebics_passphrase_store', '=', True)], 'invisible': [('state', '!=', 'draft')]}"
|
2022-05-10 19:40:54 +00:00
|
|
|
/>
|
2023-03-05 15:52:28 +00:00
|
|
|
<field name="ebics_passphrase_store" />
|
2023-06-25 15:04:49 +00:00
|
|
|
<field name="transaction_rights" />
|
2023-03-05 15:52:28 +00:00
|
|
|
<field name="active" />
|
|
|
|
</group>
|
|
|
|
<group name="main-right">
|
|
|
|
<field name="signature_class" />
|
|
|
|
<field
|
|
|
|
name="user_ids"
|
|
|
|
widget="many2many_tags"
|
|
|
|
options="{'no_create': True}"
|
|
|
|
/>
|
2022-05-10 19:40:54 +00:00
|
|
|
<field
|
|
|
|
name="swift_3skey"
|
|
|
|
attrs="{'invisible': [('signature_class', '=', 'T')]}"
|
|
|
|
/>
|
|
|
|
<field name="swift_3skey_certificate_fn" invisible="1" />
|
|
|
|
<field
|
|
|
|
name="swift_3skey_certificate"
|
|
|
|
filename="swift_3skey_certificate_fn"
|
|
|
|
attrs="{'invisible': [('swift_3skey', '=', False)], 'required': [('swift_3skey', '=', True)]}"
|
|
|
|
/>
|
|
|
|
<field name="ebics_key_x509" />
|
2020-07-05 06:24:57 +00:00
|
|
|
</group>
|
|
|
|
</group>
|
2022-05-10 19:40:54 +00:00
|
|
|
<group
|
|
|
|
name="dn"
|
|
|
|
attrs="{'invisible': [('ebics_key_x509', '=', False)], 'readonly': [('state', '!=', 'draft')]}"
|
|
|
|
>
|
2023-02-10 19:39:08 +00:00
|
|
|
<div colspan="2" col="1">
|
2022-05-10 19:40:54 +00:00
|
|
|
<strong
|
|
|
|
>Distinguished Name attributes used to create self-signed X.509 certificates:</strong>
|
2022-12-25 10:35:14 +00:00
|
|
|
</div>
|
2023-02-10 19:39:08 +00:00
|
|
|
<group name="dn_l">
|
2022-05-10 19:40:54 +00:00
|
|
|
<field name="ebics_key_x509_dn_cn" />
|
|
|
|
<field name="ebics_key_x509_dn_o" />
|
|
|
|
<field name="ebics_key_x509_dn_l" />
|
|
|
|
<field name="ebics_key_x509_dn_c" />
|
2020-07-05 06:24:57 +00:00
|
|
|
</group>
|
2023-02-10 19:39:08 +00:00
|
|
|
<group name="dn_r">
|
2022-05-10 19:40:54 +00:00
|
|
|
<field name="ebics_key_x509_dn_e" />
|
|
|
|
<field name="ebics_key_x509_dn_ou" />
|
|
|
|
<field name="ebics_key_x509_dn_st" />
|
2020-07-05 06:24:57 +00:00
|
|
|
</group>
|
|
|
|
</group>
|
2023-02-10 19:39:08 +00:00
|
|
|
<group name="files">
|
|
|
|
<group
|
|
|
|
colspan="2"
|
|
|
|
name="ebics_ini_letter"
|
|
|
|
attrs="{'invisible': [('ebics_ini_letter', '=', False)]}"
|
|
|
|
>
|
|
|
|
<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"
|
|
|
|
attrs="{'invisible': [('ebics_public_bank_keys', '=', False)]}"
|
|
|
|
>
|
|
|
|
<field name="ebics_public_bank_keys_fn" invisible="1" />
|
|
|
|
<field name="ebics_public_bank_keys" filename="ebics_public_bank_keys_fn" />
|
|
|
|
</group>
|
2020-07-05 06:24:57 +00:00
|
|
|
</group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
</odoo>
|