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">
13 <label string="This operation will cancel the Repair process, but will not cancel it's Invoice. Do you want to continue?" colspan="4"/>
15 <group col="2" colspan="4">
16 <button icon="gtk-stop" special="cancel"
18 <button name="cancel_repair" string="Yes"
19 colspan="1" type="object" icon="gtk-ok" />
25 <record id="action_cancel_repair" model="ir.actions.act_window">
26 <field name="name">Cancel Repair Order</field>
27 <field name="type">ir.actions.act_window</field>
28 <field name="res_model">mrp.repair.cancel</field>
29 <field name="view_type">form</field>
30 <field name="view_mode">form</field>
31 <field name="target">new</field>