mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-04-26 07:36:51 +00:00
[IMP] batch payment: hide ebics_upload button on non-ebics journals
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user