<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
	<record id="view_stock_replacement" model="ir.ui.view">
                <field name="name">Stock Replacement</field>
                <field name="model">stock.replacement</field>
                <field name="type">form</field>
                <field name="arch" type="xml">
	                <form string="Replace a component">
	                	<label string="Component" colspan="4"/>
						<separator string="" colspan="4" />
	                	<button icon='gtk-cancel' special="cancel" string="Cancel" />
	                	<button name="replace_composant" string="Replace" type="object" />
	                </form>
	            </field>
	        </record>	        
     	
			<act_window name="Stock Replacement"		    
				res_model="stock.replacement"
				src_model=""
				view_mode="form"
				target="new"        
				key2="client_action_multi"    
				id="action_view_stock_replacement"/>


            <record id="view_stock_replacement_result" model="ir.ui.view">
                <field name="name">Stock Replacement result</field>
                <field name="model">stock.replacement.result</field>
                <field name="type">form</field>
                <field name="arch" type="xml">
	                <form string="Replace result">
	                	<label string="Replacing successful !" colspan="4"/>
						<separator string="" colspan="4" />
	                	<button special="cancel" string="Ok" />
	                </form>
	            </field>
		</record>

  	</data>
</openerp>
