<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
  		<record id="view_auction_taken" model="ir.ui.view">
            <field name="name">auction.taken.form</field>
            <field name="model">auction.taken</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Mark Lots"> 
                	<group colspan="4" >
                		 <separator string="Select lots which are Sold" colspan="4"/>
                		 <field name="lot_ids" nolabel="1" colspan="4" domain="[('state','=','sold')]"/>
                    </group>
                       	<separator string="" colspan="4" />
                    <group colspan="4">
                    	<button icon="gtk-ok"  string="OK"  name="process" type="object" />
                   </group>
               </form>
            </field>
  		</record>
  		
        <record id="action_auction_taken" model="ir.actions.act_window">
            <field name="name">Gestion emporte</field>
            <field name="res_model">auction.taken</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
           <field name="view_id" ref="view_auction_taken"/> 
           <field name="target">new</field>
        </record>

        
    </data>
</openerp>
