1 <?xml version="1.0" encoding="utf-8"?>
4 <record model="ir.ui.view" id="cancel_order_lines_view">
5 <field name="name">cancel order lines</field>
6 <field name="model">lunch.cancel</field>
7 <field name="arch" type="xml">
8 <form string="cancel order lines" version="7.0">
9 <separator string="Are you sure you want to cancel these meals?"/>
11 Cancel a meal means that we didn't receive it from the supplier.
13 A cancelled meal should not be paid by employees.
16 <button name="cancel" string="Cancel Orders" type="object" class="oe_highlight"/>
18 <button string="Cancel" class="oe_link" special="cancel" />
24 <act_window id="cancel_order_lines"
26 key2="client_action_multi" name="Cancel meals"
27 res_model="lunch.cancel" src_model="lunch.order.line"
28 view_mode="form" target="new" view_type="form" view_id="cancel_order_lines_view"/>