bank-payment/account_payment_order/views/account_payment_views.xml

33 lines
1.3 KiB
XML
Raw Permalink Normal View History

2024-05-03 08:36:50 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<flectra>
<record id="view_account_payment_tree_payment_order" model="ir.ui.view">
<field name="name">account.payment.tree</field>
<field name="model">account.payment</field>
<field name="mode">primary</field>
<field name="inherit_id" ref="account.view_account_payment_tree" />
<field name="arch" type="xml">
<field name="name" position="after">
<field name="payment_reference" />
2024-10-01 05:24:28 +00:00
<field name="order_state" column_invisible="1" />
<button
name="update_payment_reference"
invisible="order_state != 'open'"
title="Update Payment Reference"
type="object"
icon="fa-undo"
/>
2024-05-03 08:36:50 +00:00
</field>
</field>
</record>
<record id="view_account_payment_form" model="ir.ui.view">
<field name="name">account.payment.form</field>
<field name="model">account.payment</field>
<field name="inherit_id" ref="account.view_account_payment_form" />
<field name="arch" type="xml">
<field name="ref" position="after">
<field name="payment_reference" invisible="not payment_reference" />
</field>
</field>
</record>
</flectra>