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

<!--
    Copyright 2016 LasLabs Inc.
    License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->

<odoo>

    <record id="view_website_config_settings" model="ir.ui.view">
        <field name="name">Website settings</field>
        <field name="model">website.config.settings</field>
        <field name="inherit_id" ref="website_sale.website_config_settings_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//label[@for='module_delivery_ups']" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//div[field[@name='module_delivery_ups']]/.." position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//label[@for='module_sale_ebay']"
                position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
            <xpath expr="//div[field[@name='module_sale_ebay']]" position="attributes">
                <attribute name="invisible">True</attribute>
            </xpath>
        </field>
    </record>

</odoo>