[view] -invoice buggy button in pos order form
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 3 Oct 2013 14:42:44 +0000 (16:42 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 3 Oct 2013 14:42:44 +0000 (16:42 +0200)
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>