<openerp>
    <data>
        <menuitem icon="terp-project" id="base.menu_main_pm" name="Project" sequence="10"/>
        <menuitem id="menu_invoicing" name="Billing" parent="base.menu_main_pm" sequence="4" groups="base.group_extended"/>

        <record id="action_hr_tree_invoiced_all" model="ir.actions.act_window">
            <field name="name">All Uninvoiced Entries</field>
            <field name="res_model">account.analytic.line</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="domain">[('invoice_id','=',False),('to_invoice','!=',False)]</field>
            <field name="search_view_id" ref="account.view_account_analytic_line_filter"/>
        </record>
        <menuitem action="action_hr_tree_invoiced_all" id="menu_action_hr_tree_invoiced_all" parent="menu_invoicing" groups="base.group_extended"/>

        <record id="action_account_analytic_managed_overpassed" model="ir.actions.act_window">
            <field name="name">Overpassed Accounts</field>
            <field name="res_model">account.analytic.account</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form,graph</field>
            <field name="domain">[('date','&lt;=',time.strftime('%Y-%m-%d')),('state','=','open')]</field>
        </record>
        <menuitem action="action_account_analytic_managed_overpassed" id="menu_action_account_analytic_managed_overpassed" sequence="50" parent="menu_invoicing" groups="base.group_extended"/>
    </data>
</openerp>
