Thx for the reply I get however an error that 'user_id' does not exist.
The code is as follows: class res_activity(osv.osv): _name = 'res.activity' _columns = { 'name' : fields.char('Subject', size=50, required=True), ... 'contacts' : fields.many2many('res.partner.address', 'activity_contacts_rel', 'contact_id', 'activity_id', 'Contactpersonen'), 'users' : fields.many2many('res.users', 'activity_users_rel', 'user_id', 'activity_id', 'Gebruikers'), } res_abactivity() For the logged-in user, I would like to list all activity items where the current user is in the 'users' collection. Frederik _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
