[view] ~pos order form: buggy invoice button is not pos_membership business
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 9 Oct 2013 15:54:49 +0000 (17:54 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Wed, 9 Oct 2013 15:54:49 +0000 (17:54 +0200)
view/pos_membership.xml

index dd74b05..433d9b4 100644 (file)
                 </xpath>
             </field>
         </record>
+
         <record id="view_pos_pos_form" model="ir.ui.view">
-            <field name="name">pos.order.form</field>
+            <field name="name">pos.order</field>
             <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="//button[@string='Reprint']" position="attributes">
                     <attribute name="string">Print Receipt</attribute>
                 </xpath>