[IMP] point_of_sale: review the session workflow
[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="journal_id"/>
14                     <field name="product_id"/>
15                     <field name="amount"/>
16                     <field name="session_id" />
17                     <field name="name"/>
18                     <field name="user_id" invisible="1" />
19                     <separator colspan="4"/>
20                     <group colspan="4" col="4">
21                         <group col="2" colspan="2"/>
22                          <button icon="gtk-stop" special="cancel"
23                             string="Cancel" />
24                         <button name="get_out" string="Take Money"
25                             colspan="1" type="object" icon="gtk-apply" />
26                     </group>
27                 </form>
28             </field>
29         </record>
30
31         <act_window name="Take Money Out"
32             res_model="pos.box.out"
33             src_model="account.bank.statement"
34             view_mode="form"
35             target="new"
36             key2="client_action_multi"
37             id="action_box_out" />
38
39         <act_window name="Take Money Out"
40             res_model="pos.box.out"
41             src_model="pos.session"
42             view_mode="form"
43             target="new"
44             key2="client_action_multi"
45             id="action_pos_session_box_out" />
46
47     </data>
48 </openerp>