[VIEW] -overload of partner_id field in pos_order form because of problem to overload...
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Fri, 10 Jan 2014 16:45:23 +0000 (17:45 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Fri, 10 Jan 2014 16:45:23 +0000 (17:45 +0100)
view/pos_membership.xml

index 3e408e3..9374981 100644 (file)
                 <xpath expr="//button[@string='Reprint']" position="attributes">
                     <attribute name="string">Print Receipt</attribute>
                 </xpath>
+                <!-- Problem to overload this field with another module. Be careful to make this field required when using this module
                 <xpath expr="//field[@name='partner_id']" position="replace">
                     <field name="partner_id" on_change="onchange_partner_id(partner_id, context)" context="{'search_default_customer':1}" attrs="{'readonly': [('state','in', ('paid', 'done', 'invoiced'))]}" required="1" />
                 </xpath>
+                -->
             </field>
         </record>
     </data>