<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        
        <!--  Auction lots send result -->
        
		<record id="view_auction_lots_send_result_login" model="ir.ui.view">
            <field name="name">Auction lots send result - Login</field>
            <field name="model">auction.lots.send.aie.results</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
				<form string="Login">
				    <field name="uname"/>
				    <newline/>
				    <field name="password" password="True"/>
				    <group col="2" colspan="4">
                		<button icon='gtk-cancel' special="cancel"
                			string="Cancel" />
                		<button name="get_dates" string="Continue"
                			colspan="1" type="object" icon="gtk-go-forward" />
                	</group>
				</form>
			</field>
		</record>
		
		<act_window name="Send results to Auction-in-europe.com"
            res_model="auction.lots.send.aie.results"
            src_model="auction.lots"
		    view_mode="form"
		    view_id="view_auction_lots_send_result_login"
		    target="new"        
            key2="client_action_multi"    
		    id="action_view_auction_lots_send_result_login"/>

		<record id="view_auction_lots_send_result_send" model="ir.ui.view">
            <field name="name">Auction lots send result - Send</field>
            <field name="model">auction.lots.send.aie.results</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
				<form string="Login">
				    <field name="uname" readonly="1"/>
				    <field name="password" password="True" readonly="1"/>
				    <newline/>
				    <field name="objects" readonly="1"/>
				    <newline/>
				    <field name="dates" colspan="3"/>
				    <group col="2" colspan="4">
                		<button icon='gtk-cancel' special="cancel"
                			string="Cancel" />
                		<button name="send" string="Send on your website"
                			colspan="1" type="object" icon="gtk-go-forward" />
                	</group>
				</form>
			</field>
		</record>
		
	</data>
</openerp>
