[MRG] merge with lp:~openerp-dev/openobject-addons/trunk-openchatter
[odoo/odoo.git] / addons / point_of_sale / wizard / pos_box_out.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data>
4         <!--  Box Entries -->
5
6         <record id="view_pos_box_out" model="ir.ui.view">
7             <field name="name">Box Out</field>
8             <field name="model">pos.box.out</field>
9             <field name="type">form</field>
10             <field name="arch" type="xml">
11                 <form string="Output Operation">
12                         <separator string="Describe why you take money from the cash register:" colspan="4"/>
13                         <field name="name"/>
14                         <field name="product_id"/>
15                         <field name="journal_id"/>
16                         <field name="amount"/>
17                         <separator colspan="4"/>
18                         <group colspan="4" col="4">
19                             <group col="2" colspan="2"/>
20                              <button icon="gtk-stop" special="cancel"
21                                 string="Cancel" />
22                             <button name="get_out" string="Take Money"
23                                 colspan="1" type="object" icon="gtk-apply" />
24                         </group>
25                 </form>
26             </field>
27         </record>
28
29         <record id="action_box_out" model="ir.actions.act_window">
30             <field name="name">Take Money Out</field>
31             <field name="type">ir.actions.act_window</field>
32             <field name="res_model">pos.box.out</field>
33             <field name="view_type">form</field>
34             <field name="view_mode">form</field>
35             <field name="target">new</field>
36         </record>
37
38     </data>
39 </openerp>