<field name="model">pos.order</field>
<field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
<field name="arch" type="xml">
+ <xpath expr="//button[@name='action_invoice']" position="attributes">
+ <attribute name="invisible">1</attribute>
+ </xpath>
<xpath expr="//field[@name='partner_id']" position="attributes">
<attribute name="required">1</attribute>
</xpath>