[USA] replaced red button class oe_form_button_active_flow to oe_highlight
[odoo/odoo.git] / addons / mrp_repair / wizard / mrp_repair_cancel_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         
5         <!--  Cancel Repair -->
6         
7         <record id="view_cancel_repair" model="ir.ui.view">
8             <field name="name">Cancel Repair</field>
9             <field name="model">mrp.repair.cancel</field>
10             <field name="type">form</field>
11             <field name="arch" type="xml">
12                 <form string="Cancel Repair Order" version="7.0">
13                     <header>
14                         <button name="cancel_repair" string="Yes" type="object" icon="gtk-ok" />
15                         <button icon="gtk-stop" special="cancel" string="No" />
16                     </header>
17                     <label string="This operation will cancel the Repair process, but will not cancel it's Invoice. Do you want to continue?"/>
18                 </form>
19             </field>
20         </record>         
21
22         <record id="action_cancel_repair" model="ir.actions.act_window">
23             <field name="name">Cancel Repair Order</field>
24             <field name="type">ir.actions.act_window</field>
25             <field name="res_model">mrp.repair.cancel</field>
26             <field name="view_type">form</field>
27             <field name="view_mode">form</field>
28             <field name="target">new</field>
29         </record> 
30          
31         
32     </data>
33 </openerp>