1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 <record id=
"view_pos_pos_form" model=
"ir.ui.view">
5 <field name=
"name">pos.order
</field>
6 <field name=
"model">pos.order
</field>
7 <field name=
"inherit_id" ref=
"bikecoop_l10n_fr.view_pos_pos_form"/>
8 <field name=
"arch" type=
"xml">
9 <xpath expr=
"//field[@name='partner_id']" position=
"replace">
10 <field name=
"partner_id" on_change=
"onchange_partner_id(partner_id, context)" context=
"{'search_default_customer': 1, 'form_view_ref': 'bikecoop.view_bikecoop_members_form'}" attrs=
"{'readonly': [('state','in', ('paid', 'done', 'invoiced'))]}" required=
"1" placeholder=
"LASTNAME Firstname" />
14 <record id=
"view_pos_session_form" model=
"ir.ui.view">
15 <field name=
"name">pos.session.form
</field>
16 <field name=
"model">pos.session
</field>
17 <field name=
"inherit_id" ref=
"point_of_sale.view_pos_session_form"/>
18 <field name=
"priority" eval=
"8"/>
19 <field name=
"arch" type=
"xml">
20 <xpath expr=
"//button[@name='%(point_of_sale.action_pos_box_in)d']" position=
"attributes">
21 <attribute name=
"groups">account.group_account_user,account.group_account_manager,point_of_sale.group_pos_manager
</attribute>
23 <xpath expr=
"//button[@name='%(point_of_sale.action_pos_box_out)d']" position=
"attributes">
24 <attribute name=
"groups">account.group_account_user,account.group_account_manager,point_of_sale.group_pos_manager
</attribute>