hi you can pass default value in many2 many field . just look at this example
_defaults={ 'category_id':lambda self, cr, uid, context: \ self.pool.get('res.partner.category').search(cr, uid, [], context=context), } [/code] ------------------------ Regards, Naresh Choksy -------------------- m2f -------------------- -- http://www.openerp.com/forum/viewtopic.php?p=28726#28726 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
