Ok, Don't place it after product_id, but rather replace the whole field.
Something like <field name="product_id" position="replace" > <field name="product_id" select="1" on_change="on_change_product_id(location_id,product_id,product_uom,product_template)" context="location=location_id,tmpl=product_template,uom=product_uom"/> <field name="standard_price" /> </field> Regards, Pedro -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=25262#25262 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
