[MERGE] lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-highlight-tch
[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" version="7.0">
12                     <header>
13                         <button name="get_out" string="Take Money" type="object" icon="gtk-apply" class="oe_highlight" />
14                     </header>
15                     <group col="4" string="Describe why you take money from the cash register:">
16                         <field name="name"/>
17                         <field name="product_id"/>
18                         <field name="journal_id"/>
19                         <field name="amount"/>
20                     </group>
21                 </form>
22             </field>
23         </record>
24
25         <record id="action_box_out" model="ir.actions.act_window">
26             <field name="name">Take Money Out</field>
27             <field name="type">ir.actions.act_window</field>
28             <field name="res_model">pos.box.out</field>
29             <field name="view_type">form</field>
30             <field name="view_mode">form</field>
31             <field name="target">new</field>
32         </record>
33
34     </data>
35 </openerp>