[view] -invoice buggy button in pos order form
[burette/pos_membership.git] / view / pos_membership.xml
index 3a7be61..9714177 100644 (file)
@@ -18,6 +18,9 @@
             <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>