<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2023 - 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="res_config_settings_view_form_margin_inherit" model="ir.ui.view">
        <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="//field[@name='module_loyalty']/../.." position="after">
                <div class="col-xs-12 col-lg-6 o_setting_box" id="order_margin">
                    <div class="o_setting_left_pane">
                        <field name="pos_iface_display_margin" />
                    </div>
                    <div class="o_setting_right_pane">
                        <label for="pos_iface_display_margin" />
                        <div class="text-muted">
                            Display Margin and Margin Rate in the frontend
                        </div>
                    </div>
                </div>
            </xpath>
        </field>
    </record>

</odoo>
