Gerry,

I tried to use one2one fields a few months ago and it was a "no-no". The code 
was obsolete and in fact it was being deprecated. Not a single example of its 
use in all the code base led to broken code :(

However I was able to use inherits_. I know its not a one2one relationship but 
it works well enough for me. The relationship is not simetrical :(

If you need that kind of simetrical or back&forth relationship as I did in 
other case what I did was to stablish object1-many2one->object2 and 
object2-many2one->object1. It's tricky to init the module (you'll have to 
create the relationship first on one object and afterwards do an update with 
the other....), but it works well enough.

Regards,
Pedro





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

Reply via email to