[MERGE] Sync with trunk
[odoo/odoo.git] / addons / lunch / wizard / lunch_validation_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <record model="ir.ui.view" id="validate_order_lines_view">
5             <field name="name">validate order lines</field>
6             <field name="model">lunch.validation</field>
7             <field name="arch" type="xml">
8                 <form string="validate order lines" version="7.0">
9                     <separator string="Did your received these meals?"/>
10                         <p class="oe_grey">
11                         Once a meal is received a new cash move is created for the employee.
12                                         </p>
13                                         <footer>
14                                                 <button name="confirm" string="Receive Meals" type="object" class="oe_highlight"/>
15                                                 or
16                                                 <button name="cancel" string="Cancel" class="oe_link" special="cancel" />
17                                         </footer>
18                                 </form>
19                         </field>
20                 </record>
21
22         <act_window id="validate_order_lines"
23             multi="True"
24             key2="client_action_multi" name="Receive meals"
25             res_model="lunch.validation" src_model="lunch.order.line"
26             view_mode="form" target="new" view_type="form" view_id="validate_order_lines_view"/>
27
28     </data>
29 </openerp>