<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
  		<record id="view_auction_pay_sel" model="ir.ui.view">
            <field name="name">auction.pay.sel.form</field>
            <field name="model">auction.pay.sel</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="Pay invoice">
                	<group colspan="4" >
                		 <field name="amount"/>
                		 <field name="dest_account_id"/>
                		 <field name="journal_id"/>
                		 <field name="period_id"/>
                    </group>
                       	<separator string="" colspan="4" />
                    <group colspan="4" col="6">
                    	<button icon="gtk-cancel" special="cancel" string="Cancel"/>
                    	<button icon="gtk-yes" string="Pay" name="pay_and_reconcile" type="object"/>
                   </group>
               </form>
            </field>
  		</record>
  		
  		<record id="action_auction_pay_sel" model="ir.actions.act_window">
            <field name="name">Pay objects of the seller</field>
            <field name="res_model">auction.pay.sel</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
           <field name="view_id" ref="view_auction_pay_sel"/> 
           <field name="target">new</field>
  		</record>

    </data>
</openerp>
