[IMP]: Usability Improvement. also change in auction data file.
[odoo/odoo.git] / addons / auction / wizard / auction_lots_cancel_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4        <record id="name_form" model="ir.ui.view">
5            <field name="name">auction.lots.cancel.form</field>
6            <field name="model">auction.lots.cancel</field>
7            <field name="type">form</field>
8            <field name="arch" type="xml">
9               <form string="Cancel Payment">
10                  <label string="Are you sure you want to refund this invoice ?"/>
11                  <button icon='gtk-close' special="cancel"
12                    string="Close" />
13                  <button name="cancel" string="Cancel Payment" colspan="1" type="object" icon="gtk-ok" />
14               </form>
15            </field>
16        </record>
17        
18        <act_window name="Cancel ittttttt"
19           res_model="auction.lots.cancel"
20           src_model="auction.lots"
21           view_mode="form"
22           target="new"        
23           key2="client_action_multi"    
24           id="action_auction_lots_cancel"/>                        
25             
26     </data>
27 </openerp>