16 lines
723 B
XML
16 lines
723 B
XML
<?xml version="1.0"?>
|
|
<flectra>
|
|
<record id="sale_order_view_form" model="ir.ui.view">
|
|
<field name="name">sale.order.form</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@name='button_box']" position="inside">
|
|
<button name="action_view_transaction" type="object" class="oe_stat_button" icon="fa-money" attrs="{'invisible': [('payment_transaction_count', '=', 0)]}">
|
|
<field name="payment_transaction_count" widget="statinfo" string="Transactions"/>
|
|
</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</flectra>
|