[MERGE] forward port of branch 7.0 up to de07c64
[odoo/odoo.git] / addons / lunch / wizard / lunch_cancel_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
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?"/>
10                         <p class="oe_grey">
11                                                 Cancel a meal means that we didn't receive it from the supplier.
12                         <br/>
13                         A cancelled meal should not be paid by employees.
14                                         </p>
15                                         <footer>
16                                                 <button name="cancel" string="Cancel Orders" type="object" class="oe_highlight"/>
17                                                 or
18                                                 <button string="Cancel" class="oe_link" special="cancel" />
19                                         </footer>
20                                 </form>
21                         </field>
22                 </record>
23
24         <act_window id="cancel_order_lines"
25             multi="True"
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"/>
29
30     </data>
31 </openerp>