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

		<record id="view_stock_ups" model="ir.ui.view">
			<field name="name">Stock ups</field>
			<field name="model">stock.ups</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="UPS XML generator">
					<separator string="UPS generator" colspan="4"/>
					<field name="weight" />
					<separator string="" colspan="4" />
					<button icon='gtk-cancel' special="cancel" string="_Cancel" />
					<button name="ups_save" string="Get xml file" type="object" />
					<button name="ups_upload" string="Upload xml file" type="object" />
				</form>
			</field>
		</record>

		<record id="view_stock_ups_final" model="ir.ui.view">
			<field name="name">Stock ups</field>
			<field name="model">stock.ups.final</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="UPS XML generator">
        			<separator string="Save the attached file" colspan="4" />
					<field name="xmlfile" />
					<button  special="cancel" string="End" />
					<button name="create_xmlfile" string="create xml file" type="object" />
				</form>
			</field>
		</record>
	        
		<record id="view_stock_ups_upload" model="ir.ui.view">
			<field name="name">Stock ups</field>
			<field name="model">stock.ups.upload</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
				<form string="UPS XML generator">
					<separator string="File uploaded" colspan="4" />
					<button  special="cancel" string="End" />
					<button name="upload_xmlfile" string="Upload xml file" type="object" />
				</form>
			</field>
		</record>		        
     	
		<act_window name="Stock ups"		    
			res_model="stock.ups"
			src_model=""
			view_mode="form"
			target="new"        
			key2="client_action_multi"    
			id="action_view_stock_ups"/>
</data>
</openerp>
