<?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="type">form</field>
            <field name="arch" type="xml">
                <form string="Reevaluate Task">
                    <separator colspan="4" string="Reevaluation Task"/>
                    <field name="remaining_hours" widget="float_time"/>
                    <separator string="" colspan="4"/>
                    <group col="2" colspan="2">
                    </group>
                    <group col="2" colspan="2">
                        <button icon="gtk-cancel" special="cancel" string="_Cancel"/>
                        <button icon="gtk-apply" name="compute_hours" string="_Evaluate" type="object" default_focus="1"/>
                    </group>
                </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>
