[MERGE] forward port of branch 7.0 up to de07c64
[odoo/odoo.git] / addons / lunch / wizard / lunch_order_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record model="ir.ui.view" id="order_order_lines_view">
5             <field name="name">Order meal</field>
6             <field name="model">lunch.order.order</field>
7             <field name="arch" type="xml">
8                 <form string="Order meal" version="7.0">
9                     <separator string="Are you sure you want to order these meals?"/>
10                     <p class="oe_grey">
11                         Order a meal doesn't mean that we have to pay it.
12                         A meal should be paid when it is received.
13                     </p>
14                     <footer>
15                         <button name="order" string="Order Meals" type="object" class="oe_highlight"/>
16                         or
17                         <button name="cancel" string="Cancel" class="oe_link" special="cancel" />
18                     </footer>
19                 </form>
20             </field>
21         </record>
22
23         <act_window id="order_order_lines"
24             multi="True"
25             key2="client_action_multi" name="Order meals"
26             res_model="lunch.order.order" src_model="lunch.order.line"
27             view_mode="form" target="new" view_type="form" view_id="order_order_lines_view"/>
28
29     </data>
30 </openerp>