'view/point_of_sale.xml',
'security/velosenville.xml',
'security/ir.model.access.csv',
+ 'wizard/pos_box.xml',
],
'installable': True,
'auto_install': False,
</xpath>
</field>
</record>
+ <record id="view_pos_session_form" model="ir.ui.view">
+ <field name="name">pos.session.form</field>
+ <field name="model">pos.session</field>
+ <field name="inherit_id" ref="point_of_sale.view_pos_session_form"/>
+ <field name="priority" eval="8"/>
+ <field name="arch" type="xml">
+ <xpath expr="//button[@name='%(point_of_sale.action_pos_box_in)d']" position="attributes">
+ <attribute name="groups">account.group_account_user,account.group_account_manager,point_of_sale.group_pos_manager</attribute>
+ </xpath>
+ <xpath expr="//button[@name='%(point_of_sale.action_pos_box_out)d']" position="attributes">
+ <attribute name="groups">account.group_account_user,account.group_account_manager,point_of_sale.group_pos_manager</attribute>
+ </xpath>
+ </field>
+ </record>
</data>
</openerp>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+ <data>
+ <record id="point_of_sale.action_pos_box_in" model="ir.actions.act_window">
+ <field name="groups_id" eval="[(4, ref('account.group_account_user')), (4, ref('account.group_account_manager')), (4, ref('point_of_sale.group_pos_manager'))]"/>
+ </record>
+ <record id="point_of_sale.action_pos_box_out" model="ir.actions.act_window">
+ <field name="groups_id" eval="[(4, ref('account.group_account_user')), (4, ref('account.group_account_manager')), (4, ref('point_of_sale.group_pos_manager'))]"/>
+ </record>
+ </data>
+</openerp>