Launchpad automatic translations update.
[odoo/odoo.git] / addons / account / wizard / pos_box.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <openerp>
3     <data>
4         <record model="ir.ui.view" id="cash_box_in_form">
5             <field name="name">cash_box_in</field>
6             <field name="model">cash.box.in</field>
7             <field name="arch" type="xml">
8                 <form string="Put Money In" version="7.0">
9                     <separator string="Fill in this form if you put money in the cash register:" colspan="4" />
10                     <group>
11                         <field name="name" class="oe_inline"/>
12                         <field name="amount"  class="oe_inline"/>
13                     </group>
14                     <footer>
15                         <button name="run" string="Put Money In" type="object" class="oe_highlight"/>
16                          or 
17                         <button special="cancel" string="Cancel" class="oe_link"/>
18                     </footer>
19                 </form>
20             </field>
21         </record>
22
23         <act_window 
24             name="Put Money In"
25             res_model="cash.box.in"
26             src_model="account.bank.statement"
27             view_mode="form"
28             target="new"
29             key2="client_action_multi"
30             id="action_cash_box_in" />
31
32         <record model="ir.ui.view" id="cash_box_out_form">
33             <field name="name">cash_box_out</field>
34             <field name="model">cash.box.out</field>
35             <field name="arch" type="xml">
36                 <form string="Take Money Out" version="7.0">
37                     <separator string="Describe why you take money from the cash register:"/>
38                     <group>
39                         <field name="name" class="oe_inline"/>
40                         <field name="amount" class="oe_inline"/>
41                     </group>
42
43                     <footer>
44                         <button name="run" string="Take Money Out" type="object" class="oe_highlight"/>
45                         or 
46                         <button class="oe_link" special="cancel" string="Cancel" />
47                     </footer>
48                 </form>
49             </field>
50         </record>
51
52         <act_window 
53             name="Take Money Out"
54             res_model="cash.box.out"
55             src_model="account.bank.statement"
56             view_mode="form"
57             target="new"
58             key2="client_action_multi"
59             id="action_cash_box_out" />
60     </data>
61 </openerp>