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

        <record id="view_project_compute_tasks" model="ir.ui.view">
            <field name="name">Schedule Tasks</field>
            <field name="model">project.compute.tasks</field>
            <field name="arch" type="xml">
                 <form string="Schedule Tasks" version="7.0">
                     <group>
                         <field name="project_id"/>
                     </group>
                     <footer>
                         <button name="compute_date" string="C_ompute" type="object" class="oe_highlight"/>
                         or
                        <button string="Cancel" class="oe_link" special="cancel" />
                     </footer>
                  </form>
            </field>
        </record>

        <record id="action_project_compute_tasks" model="ir.actions.act_window">
               <field name="name">Schedule Tasks</field>
               <field name="type">ir.actions.act_window</field>
               <field name="res_model">project.compute.tasks</field>
               <field name="view_type">form</field>
               <field name="view_mode">form</field>
               <field name="view_id" ref="view_project_compute_tasks"/>
               <field name="target">new</field>
        </record>

         <menuitem id="menu_compute_tasks"
            parent="menu_phase_schedule" action="action_project_compute_tasks"/>

    </data>
</openerp>
