I don't know what you want to do (I'm not in your head), and I can't help you without know, but the best help you can have, is to read the developper book for modules chapter 2 : http://doc.openerp.com/developer/ and look an example in a module, in server(/bin)/addons the file .py and .xml XOR look the video "open object in action", it is more simple and more clean : http://openerp.tv/ and if it is not usable, say us what you want to do.
for your code look the example of the video, the first class must be author, and the second class book which inherit of author (import data and function visible or not if _name = "author" or _name = "book" (copy all field)). else argument for many2many are bad the first must point to the class herited. you cant code if you don't know the syntax, that's the reason why you must at least read the documentation module developpement, and do a shema with all relation between classes. A+ ------------------------ Sauvegardons la banquise, sinon les pingouins vont disparaitre ! -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=37807#37807 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users