[8.0]support multiple EBICS connections

This commit is contained in:
Luc De Meyer 2020-07-27 15:14:35 +02:00
parent 3562cd78da
commit 8deb1b4bd4
2 changed files with 6 additions and 3 deletions

View File

@ -49,7 +49,6 @@ class EbicsXfer(models.TransientModel):
comodel_name='ebics.config',
string='EBICS Configuration',
domain=[('state', '=', 'active')],
required=True,
default=lambda self: self._default_ebics_config_id())
ebics_passphrase = fields.Char(
string='EBICS Passphrase')

View File

@ -10,7 +10,9 @@
<form string="EBICS File Download">
<group>
<separator string="Select your bank :" colspan="2"/>
<field name="ebics_config_id" options="{'no_create': True, 'no_open': True}"/>
<field name="ebics_config_id"
required="1"
options="{'no_create': True, 'no_open': True}"/>
<field name="date_from"/>
<field name="date_to"/>
<field name="format_id"/>
@ -32,7 +34,9 @@
<form string="EBICS File Upload">
<group>
<separator string="Select your bank :" colspan="2"/>
<field name="ebics_config_id" options="{'no_create': True, 'no_open': True}"/>
<field name="ebics_config_id"
required="1"
options="{'no_create': True, 'no_open': True}"/>
<separator string="Select your file :" colspan="2"/>
<field name="upload_data" filename="upload_fname" required="1"/>
<field name="upload_fname" invisible="1"/>