<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2025 Camptocamp SA
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="res_config_settings_view_form_sale_exception" model="ir.ui.view">
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="sale.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <setting id="order_warnings" position="after">
                <setting
                    id="sale_exception_show_popup"
                    help="Display popup at confirm or simply rely on the red alert already visible on top of the order."
                    company_dependent="1"
                    invisible="not group_warning_sale"
                >
                    <field name="sale_exception_show_popup" />
                </setting>
            </setting>
        </field>
    </record>
</odoo>
