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

	<record id="view_hr_evaluation_send_mail" model="ir.ui.view">
        <field name="name">hr.evaluation.send.mail</field>
        <field name="model">hr.evaluation.reminder</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
			<form string="Evaluation Reminders">
				<group width="340">
				<separator string="Send evaluation reminder" colspan="4"/>
				<field name="evaluation_id"/>
				<separator colspan="4"/>
					<group colspan="4">
						<button special="cancel" string="Cancel" icon="gtk-cancel"/>
						<button name="send_mail" string="Send Mail" type="object" icon="gtk-ok"/>
					</group>
				</group>
         	</form>
        </field>
	</record>

    <record id="action_hr_evaluation_send_mail" model="ir.actions.act_window">
        <field name="name">Evaluation Send Mail</field>
        <field name="res_model">hr.evaluation.reminder</field>
        <field name="type">ir.actions.act_window</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="view_id" ref="view_hr_evaluation_send_mail"/>
        <field name="context">{'record_id':active_id}</field>
        <field name="target">new</field>
    </record>

     </data>
</openerp>
