Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/8/13, 2:26 PM|
|Seen: 3139 times|
|Last updated: 3/22/16, 4:56 AM|