<?xml version="1.0"?>
<openerp>
<data noupdate="1">    
    <!-- MENU -->
    <record model="ir.actions.act_window" id="crm_case_category_act_fund_all1">
        <field name="name">All Funds</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">tree,form,graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+')]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund_all1">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all1"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund_all1">
        <field name="sequence" eval="2"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all1"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_graph_view_fund_all1">
        <field name="sequence" eval="3"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all1"/>
    </record>

    <menuitem name="Fund Raising" id="menu_crm_case_fund_raise" parent="crm.menu_crm" action="crm_case_category_act_fund_all1"/>
    
    <!-- My Funds -->
    <record model="ir.actions.act_window" id="crm_case_category_act_fund_my1">
        <field name="name">My Funds</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">tree,form</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+'),(\'user_id\',\'=\',uid)]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund_my1">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my1"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_graph_view_fund_my1">
        <field name="sequence" eval="3"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my1"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund_my1">
        <field name="sequence" eval="2"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my1"/>
    </record>
    <menuitem name="My Funds" id="menu_crm_case_category_act_fund_my1" action="crm_case_category_act_fund_my1"  parent="menu_crm_case_fund_raise"/>

    <record model="ir.actions.act_window" id="crm_case_category_act_fund1">
        <field name="name">Funds</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">form,graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+')]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund1">
        <field name="sequence" eval="2"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund1"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund1">
        <field name="sequence" eval="1"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund1"/>
    </record>
    <menuitem name="New Fund Opportunity" id="menu_crm_case_categ0_act_fund" action="crm_case_category_act_fund1" parent="menu_crm_case_category_act_fund_my1"/>

    <record model="ir.actions.act_window" id="crm_case_category_act_fund_my2">
        <field name="name">My Funds Waiting Validation</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">tree,form,graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+'),(\'user_id\',\'=\',uid),(\'state\',\'=\',\'draft\')]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund_my2">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my2"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund_my2">
        <field name="sequence" eval="2"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my2"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_graph_view_fund_my2">
        <field name="sequence" eval="3"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my2"/>
    </record>
    <menuitem name="My Funds Waiting Validation" id="menu_crm_case_categ0_act_fund_my2" action="crm_case_category_act_fund_my2" parent="menu_crm_case_category_act_fund_my1"/>

    <record model="ir.actions.act_window" id="crm_case_category_act_fund_my3">
        <field name="name">My Funds To Be Processed</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">tree,form,graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+'),(\'user_id\',\'=\',uid),(\'state\',\'=\',\'open\')]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund_my3">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my3"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund_my3">
        <field name="sequence" eval="2"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my3"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_graph_view_fund_my3">
        <field name="sequence" eval="3"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_my3"/>
    </record>
    <menuitem name="My Funds To Be Processed" id="menu_crm_case_categ0_act_fund_my3" action="crm_case_category_act_fund_my3" parent="menu_crm_case_category_act_fund_my1"/>

    <!-- All Funds -->
    <menuitem name="All Funds" id="menu_crm_case_categ0_act_fund_all1" action="crm_case_category_act_fund_all1" parent="menu_crm_case_fund_raise"/>

    <record model="ir.actions.act_window" id="crm_case_category_act_fund_all2">
        <field name="name">All Funds Waiting Validation</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">tree,form,graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+'),(\'state\',\'=\',\'draft\')]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund_all2">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all2"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund_all2">
        <field name="sequence" eval="2"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all2"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_graph_view_fund_all2">
        <field name="sequence" eval="3"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all2"/>
    </record>
    <menuitem name="All Funds Waiting Validation" id="menu_crm_case_categ0_act_fund_all2" action="crm_case_category_act_fund_all2" parent="menu_crm_case_categ0_act_fund_all1"/>

    <record model="ir.actions.act_window" id="crm_case_category_act_fund_all3">
        <field name="name">All Funds To Be Processed</field>
        <field name="res_model">crm.case</field>
        <field name="view_mode">tree,form,graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="domain" eval="'[(\'section_id\',\'=\','+str(section_support4)+'),(\'state\',\'=\',\'open\')]'"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_tree_view_fund_all3">
        <field name="sequence" eval="1"/>
        <field name="view_mode">tree</field>
        <field name="view_id" ref="crm_configuration.crm_case_tree_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all3"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_form_view_fund_all3">
        <field name="sequence" eval="2"/>
        <field name="view_mode">form</field>
        <field name="view_id" ref="crm_configuration.crm_case_form_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all3"/>
    </record>
    <record model="ir.actions.act_window.view" id="action_crm_tag_graph_view_fund_all3">
        <field name="sequence" eval="3"/>
        <field name="view_mode">graph</field>
        <field name="view_id" ref="crm_configuration.crm_case_graph_view_fund"/>
        <field name="act_window_id" ref="crm_case_category_act_fund_all3"/>
    </record>
    <menuitem name="All Funds To Be Processed" id="menu_crm_case_categ0_act_fund_all3" action="crm_case_category_act_fund_all3" parent="menu_crm_case_categ0_act_fund_all1"/>

</data>
</openerp>
