[MERGE] Merged with server/trunk.
[odoo/odoo.git] / addons / lunch / lunch_installer_view.xml
1 <openerp>
2     <data>
3         <record model="ir.actions.act_window" id="view_lunch_product_form_installer">
4             <field name="name">Define Your Lunch Products</field>
5             <field name="type">ir.actions.act_window</field>
6             <field name="res_model">lunch.product</field>
7             <field name="view_type">form</field>
8             <field name="view_mode">tree,form</field>
9             <field name="view_id" eval="False"/>
10             <field name="help" type="html">
11               <p class="oe_view_nocontent_create">
12                 Click to add a new product that can be ordered for the lunch.
13               </p><p>
14                 We suggest you to put the real price so that the exact due
15                 amount is deduced from each employee's cash boxes when they
16                 order.
17               </p><p>
18                 If you order lunch at several places, you can use the product
19                 categories to split by supplier. It will be easier to filter
20                 lunch orders.
21               </p>
22             </field>
23         </record>
24
25         <record id="view_lunch_product_form_todo" model="ir.actions.todo">
26             <field name="action_id" ref="view_lunch_product_form_installer"/>
27             <field name="sequence">50</field>
28         </record>
29
30         <record model="ir.actions.act_window" id="action_create_cashbox">
31             <field name="name">Create Lunch Cash Boxes</field>
32             <field name="type">ir.actions.act_window</field>
33             <field name="res_model">lunch.cashbox</field>
34             <field name="view_type">form</field>
35             <field name="view_mode">tree,form</field>
36             <field name="help" type="html">
37               <p class="oe_view_nocontent_create">
38                 Click to add a new cash box.
39               </p><p>
40                 You can create on cash box by employee if you want to keep
41                 track of the amount due by employee according to what have been
42                 ordered.
43               </p>
44             </field>
45         </record>
46
47         <record id="action_create_cashbox_todo" model="ir.actions.todo">
48             <field name="action_id" ref="action_create_cashbox" />
49             <field name="sequence">51</field>
50         </record>
51     </data>
52 </openerp>