<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        
        <!--  Cancel Repair -->
        
		<record id="view_cancel_repair" model="ir.ui.view">
            <field name="name">Cancel Repair</field>
            <field name="model">mrp.repair.cancel</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Cancel Repair Order">
				    <label string="This operation will cancel the Repair process, but will not cancel it's Invoice. Do you want to continue?" colspan="4"/>
				    <newline/>
				    <group col="2" colspan="4">
                		<button icon="gtk-stop" special="cancel"
                			string="No" />
                		<button name="cancel_repair" string="Yes"
                			colspan="1" type="object" icon="gtk-ok" />
                	</group>
                </form>
            </field>
        </record>         

        <record id="action_cancel_repair" model="ir.actions.act_window">
            <field name="name">Cancel Repair Order</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">mrp.repair.cancel</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record> 
 		
        
	</data>
</openerp>	
