[fix] problem in o2m
[odoo/odoo.git] / addons / auction / wizard / auction_lots_make_invoice_buyer_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4                 <record id="view_auction_lots_make_invoice_buyer" model="ir.ui.view">
5             <field name="name">auction.lots.make.invoice.buyer.form</field>
6             <field name="model">auction.lots.make.invoice.buyer</field>
7             <field name="type">form</field>
8             <field name="arch" type="xml">
9                 <form string="Buyer Invoice">
10                         <group colspan="4" >
11                              <separator string="Create Invoices For Buyer" colspan="4"/>
12                                  <field name="amount"/>
13                                  <field name="objects"/>
14                                  <field name="number"/>
15                                  <label string="(Keep empty for automatic number)" colspan="2"/>
16                                  <field name="buyer_id"/>
17                     </group>
18                     <separator string="" colspan="4" />
19                     <group colspan="4" col="6">
20                         <label string=" " colspan="2"/>
21                         <button icon="gtk-close" special="cancel" string="Close"/>
22                         <button icon="terp-gtk-go-back-rtl" string="Create invoices" name="makeInvoices" type="object"/>
23                    </group>
24                </form>
25             </field>
26                 </record>
27                 
28        <act_window name="Invoice Buyer objects"             
29                     res_model="auction.lots.make.invoice.buyer"
30                     src_model="auction.lots"
31                     view_mode="form"
32                     target="new"        
33             key2="client_action_multi"    
34                     id="action_auction_lots_make_invoice_buyer"/>   
35                      
36     </data>
37 </openerp>