2010-03-03 13:44:05 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<!-- Cancel Repair -->
|
|
|
|
|
2012-06-09 15:19:20 +00:00
|
|
|
<record id="view_cancel_repair" model="ir.ui.view">
|
2010-03-03 13:44:05 +00:00
|
|
|
<field name="name">Cancel Repair</field>
|
|
|
|
<field name="model">mrp.repair.cancel</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 15:19:20 +00:00
|
|
|
<form string="Cancel Repair Order" version="7.0">
|
2012-06-20 07:37:12 +00:00
|
|
|
<group>
|
|
|
|
<label string="This operation will cancel the Repair process, but will not cancel it's Invoice. Do you want to continue?"/>
|
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="cancel_repair" string="Yes" type="object" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2010-03-03 13:44:05 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
2010-03-11 14:24:49 +00:00
|
|
|
</record>
|
2010-03-03 13:44:05 +00:00
|
|
|
|
|
|
|
<record id="action_cancel_repair" model="ir.actions.act_window">
|
2010-03-11 14:24:49 +00:00
|
|
|
<field name="name">Cancel Repair Order</field>
|
2010-03-03 13:44:05 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">mrp.repair.cancel</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
2010-03-11 14:24:49 +00:00
|
|
|
</record>
|
2010-03-03 13:44:05 +00:00
|
|
|
|
2012-06-09 15:19:20 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|