I want to see all event/meeting where "user_id==uid" and "uid.name == partner_ids"?
I try to create a new filter :
uid.name is not a variable. I try
domain="[('partner_ids','ilike',self.pool.get('res.users').browse(cr, uid, uid, context=context).partner_id.name)]" but no one work.
I think I'm misunderstanding the right way to use domain field, not just in search view.
How can I use a var that is not a field of model but from database like res_users.name or res_users.partner_id.name ?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 4/8/13, 2:26 PM|
|Seen: 2758 times|
|Last updated: 3/22/16, 4:56 AM|