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

        <record id="view_account_followup_stat_tree" model="ir.ui.view">
            <field name="name">account_followup.stat.tree</field>
            <field name="model">account_followup.stat</field>
            <field name="type">tree</field>
            <field name="arch" type="xml">
                <tree string="Follow-Up lines">
                    <field name="name"/>
                    <field name="date_move"/>
                    <field name="date_move_last"/>
                    <field name="date_followup"/>
                    <field name="followup_id"/>
                    <field name="balance" sum="Balance"/>
                    <field name="debit"/>
                    <field name="credit"/>
                </tree>
            </field>
        </record>

      <record id="view_account_followup_stat_graph" model="ir.ui.view">
           <field name="name">account_followup.stat.graph</field>
           <field name="model">account_followup.stat</field>
           <field name="type">graph</field>
           <field name="arch" type="xml">
               <graph string="Follow-Up lines" type="bar">
                  <field name="name"/>
                  <field name="balance" operator="+"/>
               </graph>
           </field>
      </record>

        <record id="action_followup_stat" model="ir.actions.act_window">
            <field name="name">Follow-ups Sent</field>
            <field name="res_model">account_followup.stat</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,graph</field>
        </record>
     <!-- <menuitem name="Partners Follow-Ups" id="menu_action_followup_stat" parent="account.menu_finance_generic_reporting"/> -->

        <menuitem action="action_followup_stat" id="menu_action_followup_stat_follow" parent="account.next_id_22"/>

    </data>
</openerp>
