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

    <!-- ===== Tree View (editable inline) ===== -->
    <record id="woo_shipping_carrier_view_tree" model="ir.ui.view">
        <field name="name">woo.shipping.carrier.tree</field>
        <field name="model">woo.shipping.carrier</field>
        <field name="arch" type="xml">
            <list editable="bottom">
                <field name="name"/>
                <field name="code"/>
                <field name="tracking_url"/>
                <field name="active"/>
            </list>
        </field>
    </record>

    <!-- ===== Action ===== -->
    <record id="action_woo_shipping_carrier" model="ir.actions.act_window">
        <field name="name">Shipping Carriers</field>
        <field name="res_model">woo.shipping.carrier</field>
        <field name="view_mode">list</field>
    </record>

</odoo>
