1 <?xml version="1.0" encoding="utf-8"?>
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">
14 <button name="cancel_repair" string="Yes" type="object" icon="gtk-ok" />
15 <button icon="gtk-stop" special="cancel" string="No" />
17 <label string="This operation will cancel the Repair process, but will not cancel it's Invoice. Do you want to continue?"/>
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>