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

    <record id="view_hr_holidays_remaining_leaves_user_tree" model="ir.ui.view">
        <field name="name">hr.holidays.remaining.leaves.user.tree</field>
        <field name="model">hr.holidays.remaining.leaves.user</field>
        <field name="arch" type="xml">
            <tree string="Leaves by Type">
                <field name="name"/>
                <field name="leave_type"/>
                <field name="no_of_leaves"/>
            </tree>
        </field>
    </record>

    <record id="view_hr_holidays_remaining_leaves_user_graph" model="ir.ui.view">
        <field name="name">hr.holidays.remaining.leaves.user.graph</field>
        <field name="model">hr.holidays.remaining.leaves.user</field>
        <field name="arch" type="xml">
            <graph string="Leaves by Type" orientation = "horizontal" type="bar">
                <field name="name" />
                <field name="no_of_leaves" operator = "+"/>
                <field name="leave_type" group = "True"/>
            </graph>
        </field>
    </record>

    </data>
</openerp>
