Maybe through inheritance like example 2 in this section of docs.
http://doc.openerp.com/developer/2_5_Objects_Fields_Methods/object_inherit.html...

context is a dictionary where you cn store any key you want. then in name_get 
you could have:
...
if 'my_key' in context:
    return  something special
return normal output 




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=36438#36438

-------------------- m2f --------------------


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

Reply via email to