[IMP] batch payment: hide ebics_upload button on non-ebics journals

This commit is contained in:
Luc De Meyer
2026-04-14 15:52:51 +02:00
parent 0cc861126a
commit 4bf699a7c5
4 changed files with 46 additions and 12 deletions

View File

@@ -5,12 +5,13 @@
<field name="model">account.batch.payment</field>
<field name="inherit_id" ref="account_batch_payment.view_batch_payment_form" />
<field name="arch" type="xml">
<button name="validate_batch_button" position="after">
<button id="print_button" position="before">
<button
name="ebics_upload"
type="object"
invisible="not file_generation_enabled or state != 'sent'"
invisible="hide_ebics_upload"
string="EBICS Upload"
class="oe_highlight"
/>
</button>
</field>