addons-cm/pos_customer_required/views/pos_config_view.xml

27 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2004 apertoso NV - Jos DE GRAEVE <Jos.DeGraeve@apertoso.be>
Copyright 2016 La Louve - Sylvain LE GAL <https://twitter.com/legalsylvain>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) -->
<odoo>
<record model="ir.ui.view" id="view_pos_config_form">
<field name="name">view.pos.config.form</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="point_of_sale.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@id='pos_interface_section']" position="inside">
<div class="col-12 col-lg-6 o_setting_box" id="require_customer">
<div class="o_setting_right_pane">
<label for="require_customer" string="Require Customer" />
<div class="content-group mt16">
<field
name="require_customer"
class="o_light_label"
widget="radio"
/>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>