Two things.
First, you want to have the choice to display it or not. Personnaly, I'll add a 
boolean field then test it in the RML file to show it or not.

Second, you want to get a specific contact. Most of the time, it will be the 
salesman of the partner. Test if its function is salesman (once again, a x2many 
property), or anything else you want and you already specified.
You "only" have to get partner.address.job_id.function_id.name (each of them 
are x2many, so you have to loop them all :s ) and test it. Good luck...

------------------------
Cordialement, Regards,
Gauthier BEAURIN




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

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

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


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

Reply via email to