mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-11-06 18:10:39 +00:00
[IMP] Add payment upload state tracking on payment orders
account_ebics_payment_order: Add EBICS notebook page with upload info to payment order form
This commit is contained in:
1 parent
05ef1e46ec
commit
a39bfa883e
7 files changed
+70
-51
No files matched your search
@@ -2,21 +2,37 @@
|
||||
<odoo>
|
||||
|
||||
<record id="account_payment_order_form" model="ir.ui.view">
|
||||
<field name="name">account.payment.order.form</field>
|
||||
<field name="model">account.payment.order</field>
|
||||
<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
|
||||
<field name="name">account.payment.order.form</field>
|
||||
<field name="model">account.payment.order</field>
|
||||
<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" />
|
||||
<field name="ebics_config_id" invisible="1" />
|
||||
<button
|
||||
name="ebics_upload"
|
||||
type="object"
|
||||
invisible="hide_ebics_upload"
|
||||
string="EBICS Upload"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
</button>
|
||||
</field>
|
||||
</button>
|
||||
<notebook position="inside">
|
||||
<page
|
||||
string="EBICS upload info"
|
||||
name="ebics"
|
||||
invisible="not ebics_config_id"
|
||||
>
|
||||
<group name="ebics_info">
|
||||
<field name="ebics_file_id" string="Upload File" />
|
||||
<field name="ebics_order_number" />
|
||||
</group>
|
||||
</page>
|
||||
</notebook>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in new issue
Block a user