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

    <record id="view_project_task_reevaluate" model="ir.ui.view">
            <field name="name">Re-evaluate Task</field>
            <field name="model">project.task.reevaluate</field>
            <field name="arch" type="xml">
                <form string="Reevaluate Task" version="7.0">
                    <separator string="Reevaluation Task"/>
                    <group>
                        <field name="remaining_hours" widget="float_time"/>
                    </group>
                    <footer>
                        <button name="compute_hours" string="_Evaluate" type="object" default_focus="1" class="oe_highlight"/>
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_project_task_reevaluate" model="ir.actions.act_window">
            <field name="name">Re-evaluate Task</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">project.task.reevaluate</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>
 </data>
</openerp>
