You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
2.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2020 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_pos_config_form" model="ir.ui.view">
<field name="model">pos.config</field>
<field name="inherit_id" ref="point_of_sale.pos_config_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='payment_methods']/.." position="after">
<h2>Meal Vouchers</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<span class="o_form_label">Meal Voucher Amount</span>
<div class="text-muted">
Maximum amount of Meal Vouchers that can be received for a PoS Order.
Let 0, if you don't want to enable this check.
</div>
<div class="content-group mt16">
<field name="max_meal_voucher_amount" colspan="4" nolabel="1"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="meal_voucher_display_product_screen"/>
</div>
<div class="o_setting_right_pane">
<label for="meal_voucher_display_product_screen" string="Display icon before products on screen"/>
<div class="text-muted">
If checked, an icon will be displayed on the screen, before each product that can be paid with meal vouchers.
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>