odoo/addons/lunch/wizard/lunch_cancel_view.xml

32 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="cancel_order_lines_view">
<field name="name">cancel order lines</field>
<field name="model">lunch.cancel</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="cancel order lines" version="7.0">
<group>
<separator string="Are you sure you want to cancel these orders?"/>
<label string="Please note that: " colspan="4"/>
<label string="--------------------------" colspan="4"/>
<label string="Orders will not be deleted but will be cancelled" colspan="4"/>
</group>
<footer>
<button name="cancel" string="Cancel Orders" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<act_window id="cancel_order_lines"
multi="True"
key2="client_action_multi" name="Cancel"
res_model="lunch.cancel" src_model="lunch.order.line"
view_mode="form" target="new" view_type="form" view_id="cancel_order_lines_view"/>
</data>
</openerp>