| 1 |
<?xml version="1.0"?> |
| 2 |
<odoo> |
| 3 |
|
| 4 |
<record id="view_account_payment_form_inherit_pos_online_payment" model="ir.ui.view"> |
| 5 |
<field name="name">view.account.payment.form.inherit.pos_online_payment</field> |
| 6 |
<field name="model">account.payment</field> |
| 7 |
<field name="inherit_id" ref="account.view_account_payment_form"/> |
| 8 |
<field name="arch" type="xml"> |
| 9 |
<xpath expr="//div[@name='button_box']" position="inside"> |
| 10 |
<field name="pos_order_id" invisible="1"/> |
| 11 |
<button name="action_view_pos_order" type="object" |
| 12 |
class="oe_stat_button" icon="fa-shopping-cart" |
| 13 |
invisible="not pos_order_id"> |
| 14 |
<field name="pos_order_id" widget="statinfo" string="POS Order"/> |
| 15 |
</button> |
| 16 |
</xpath> |
| 17 |
</field> |
| 18 |
</record> |
| 19 |
|
| 20 |
</odoo> |