<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="res_config_settings_view_form_membership_signup" model="ir.ui.view">
        <field name="name">res.config.settings.view.form.inherit.membership.signup</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="website_sale.res_config_settings_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//setting[@id='website_checkout_registration']" position="after">
                <setting string="Membership signup required"
                    help="When enabled, anonymous visitors trying to add a membership product to cart are redirected to /web/signup before the product is added. Applies per-website, only in b2b (guest checkout) mode.">
                    <field name="membership_signup_required"/>
                </setting>
            </xpath>
        </field>
    </record>

</odoo>