1
<?xml version="1.0" encoding="utf-8"?>
4
<record id="view_sale_ignore_cancel" model="ir.ui.view">
5
<field name="name">Sale Ignore Cancel</field>
6
<field name="model">sale.ignore.cancel</field>
7
<field name="arch" type="xml">
8
<form string="Ignore the cancellation on the Backend" version="7.0">
10
This sales order has been canceled from the backend.
11
The usual action would be to cancel it in OpenERP along
12
all the documents generated (delivery orders, invoices, ...).
15
However, if for any reason you need to keep it open in OpenERP,
16
write the reason here and it will stay open.
19
<label for="reason" colspan="2"/>
20
<field name="reason" nolabel="1" colspan="2"/>
23
<button name="confirm_ignore_cancel"
24
string="Confirm" type="object"
25
class="oe_highlight"/>
27
<button string="Cancel" class="oe_link" special="cancel" />
33
<record id="action_sale_ignore_cancel" model="ir.actions.act_window">
34
<field name="name">Ignore the cancellation on the Backend</field>
35
<field name="type">ir.actions.act_window</field>
36
<field name="res_model">sale.ignore.cancel</field>
37
<field name="view_type">form</field>
38
<field name="view_mode">form</field>
39
<field name="view_id" ref="view_sale_ignore_cancel"/>
40
<field name="target">new</field>