Hi,

I work with OERP 5.0.2, Ubuntu 8.04, GTK client 5.0.2.
I try to modify the view sale.order.form with the inheritance method
(http://doc.openerp.com/developer/2_6_views_events/views/ 
view_inheritence.html)

But i have a subtle problem : I would like to modify only one  
property of one field :
for example, just change the 'onchange' property of field 'product_id'.

It's ok if i copy the entire code of the page of the notebook .
But I have to take care the this code at every new version of OERP.
I have no idea how to write the '<field name="arch" type="xml">'  
field in the xml file in an optimized way.

Or, should do it in two steps ?
- delete the existing field
- create a new field with the new properties


IMHO, for future wersions, it would be very usefull to add new values  
for "position" : "modify" and "delete", and maybe "move" or  
"move_first", "move_last", "move_before", "move_after"
For example :
<fieldname="arch"type="xml">
        <field name="relation_ids" position="modify"
                colspan="4"
                nolabel="1"
        />
</field>


Thanks,

Michel
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to