+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+ <data>
+ <record id="view_pos_session_form" model="ir.ui.view">
+ <field name="name">pos.session.form.view</field>
+ <field name="model">pos.session</field>
+ <field name="inherit_id" ref="point_of_sale.view_pos_session_form"/>
+ <field name="arch" type="xml">
+ <xpath expr="//button[@name='%(point_of_sale.action_pos_box_in)d']" position="attributes">
+ <attribute name="groups">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">point_of_sale.group_pos_manager</attribute>
+ </xpath>
+ </field>
+ </record>
+ </data>
+</openerp>