<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="carrier_view_list" model="ir.ui.view">
        <field name="name">carrier.list</field>
        <field name="model">carrier</field>
        <field name="arch" type="xml">
            <list>
                <field name="name"/>
                <field name="team_name"/>
                <field name="tax_id" optional="show"/>
                <field name="country_id" optional="show"/>
                <field name="logto_org_id" optional="show"/>
                <field name="state" widget="badge" decoration-warning="state == 'pending'" decoration-success="state == 'active'" decoration-danger="state == 'suspended'"/>
                <field name="joined_date"/>
                <field name="is_active" optional="hide"/>
            </list>
        </field>
    </record>

    <record id="action_carrier" model="ir.actions.act_window">
        <field name="name">Carriers</field>
        <field name="res_model">carrier</field>
        <field name="view_mode">list,form</field>
        <field name="help" type="html">
            <p class="o_view_nocontent_smiling_face">
                No carriers yet
            </p>
            <p>
                Create your first carrier.
            </p>
        </field>
    </record>
</odoo>
