| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="payment_transaction_form" model="ir.ui.view"> |
| 4 |
<field name="name">payment.transaction.form</field> |
| 5 |
<field name="model">payment.transaction</field> |
| 6 |
<field name="inherit_id" ref="payment.payment_transaction_form"/> |
| 7 |
<field name="arch" type="xml"> |
| 8 |
<button name="action_view_refunds" position="before"> |
| 9 |
<field name="pos_order_id" invisible="1"/> |
| 10 |
<button name="action_view_pos_order" type="object" |
| 11 |
class="oe_stat_button" icon="fa-shopping-cart" |
| 12 |
invisible="not pos_order_id"> |
| 13 |
<field name="pos_order_id" widget="statinfo" string="POS Order"/> |
| 14 |
</button> |
| 15 |
</button> |
| 16 |
</field> |
| 17 |
</record> |
| 18 |
</odoo> |