mirror of
https://gitlab.com/flectra-community/bank-payment.git
synced 2024-12-25 13:51:44 +00:00
33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
<?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" />
|
|
<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"
|
|
/>
|
|
</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>
|