| 1 |
<?xml version="1.0"?> |
| 2 |
<odoo> |
| 3 |
<record id="res_config_settings_view_form_menu" model="ir.ui.view"> |
| 4 |
<field name="name">res.config.settings.view.form.inherit.pos_online_payment.view</field> |
| 5 |
<field name="model">res.config.settings</field> |
| 6 |
<field name="inherit_id" ref="point_of_sale.res_config_settings_view_form"/> |
| 7 |
<field name="arch" type="xml"> |
| 8 |
<xpath expr="//div[@id='self-payment-after']" position="after"> |
| 9 |
<div class="content-group row" invisible="not pos_self_ordering_mode == 'mobile'"> |
| 10 |
<label string="Online Payment" for="pos_self_order_online_payment_method_id" class="col-lg-4" /> |
| 11 |
<field name="pos_self_order_online_payment_method_id" placeholder="Pay at cashier if empty" /> |
| 12 |
</div> |
| 13 |
<div class="d-flex flex-column align-items-start w-50" invisible="not pos_self_ordering_mode == 'mobile' and not pos_self_ordering_pay_after == 'each'"> |
| 14 |
<button name="%(point_of_sale.action_payment_methods_tree)d" icon="oi-arrow-right" type="action" string="Payment Methods" class="btn-link" /> |
| 15 |
</div> |
| 16 |
</xpath> |
| 17 |
</field> |
| 18 |
</record> |
| 19 |
</odoo> |