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

This commit is contained in:
Luc De Meyer
2026-04-14 19:16:57 +02:00
parent e7df306161
commit e464383077
4 changed files with 21 additions and 19 deletions

View File

@@ -7,10 +7,11 @@
<field name="inherit_id" ref="account_payment_order.account_payment_order_form" />
<field name="arch" type="xml">
<button name="open2generated" position="after">
<field name="hide_ebics_upload" invisible="1" />
<button
name="ebics_upload"
type="object"
invisible="state != 'generated'"
invisible="hide_ebics_upload"
string="EBICS Upload"
class="oe_highlight"
/>