[IMP]account_ebics: file format filter on ebics_upload

Set file format fiter when creating the ebics.xfer wizard from a python method,
e.g. 'EBICS UPLOAD' button on payment order.
This commit is contained in:
Luc De Meyer
2024-05-06 20:15:49 +02:00
parent d134de9b38
commit 49158f34a0
3 changed files with 18 additions and 3 deletions

View File

@@ -91,10 +91,11 @@
<field name="upload_data" filename="upload_fname" required="1" />
<field name="upload_fname" invisible="1" />
<field name="upload_fname_dummy" string="Upload Filename" />
<field name="upload_format_ids" invisible="1" />
<field
name="format_id"
domain="[('id', 'in', upload_format_ids)]"
required="1"
domain="[('type', '=', 'up'), ('id', 'in', allowed_format_ids)]"
/>
<field name="order_type" />
<field name="test_mode" invisible="order_type not in ('FUL', 'BTU')" />