<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="//field[@name='config_id']" position="replace">
- <field name="config_id" widget="selection" domain="[('state','=', 'active')]"/>
+ <xpath expr="//field[@name='config_id']" position="attributes">
+ <attribute name="widget">selection</attribute>
+ <attribute name="domain">[('state', '=', 'active')]</attribute>
</xpath>
</field>
</record>