<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>

<record id="view_partner_id_numbers_form" model="ir.ui.view">
    <field name="name">res.partner.id_number.form</field>
    <field name="model">res.partner.id_number</field>
    <field name="type">form</field>
    <field name="arch" type="xml">
        <form string="Partner ID Numbers">
            <group>
                <field name="category_id" />
                <field name="name" />
                <field name="partner_issued_id" />
                <field name="date_issued" />
                <field name="place_issuance" />
                <field name="valid_from" />
                <field name="valid_until" />
                <field name="status" />
            </group>
            <separator colspan="4" string="Notes"/>
            <field name="comment" colspan="4" nolabel="1"/>
        </form>
    </field>
</record>

<record id="view_partner_id_numbers_tree" model="ir.ui.view">
    <field name="name">res.partner.id_number.tree</field>
    <field name="model">res.partner.id_number</field>
    <field name="type">tree</field>
    <field name="arch" type="xml">
        <tree string="Partner ID Numbers">
            <field name="category_id" />
            <field name="name" />
            <field name="partner_issued_id" />
            <field name="date_issued" />
            <field name="valid_from" />
            <field name="valid_until" />
            <field name="status" />
        </tree>
    </field>
</record>

<record id="action_partner_id_numbers_form" model="ir.actions.act_window">
    <field name="name">Partner ID Numbers</field>
    <field name="res_model">res.partner.id_number</field>
    <field name="view_type">form</field>
    <field name="view_mode">tree,form</field>
</record>

</data>
</openerp>