Odoo Help


What should be the domain filter for filtering all customers of a salesteam?

Hammad hussain qureshi
on 2/18/15, 4:41 AM 471 views

I have created a sales team with following team hierarchy:

  • Sales Manager
    • Sales Person
      • Sales & Quotations, Leads, customers 

I want that the Sales Manager can see all the customers of his/her team. Same functionality I wanted for the leads and for that I have applied this domain filter ['|', ('section_id','=',user.default_section_id.id),('section_id','=',False)] which worked perfectly. And for customers, I am applying this domain filter [('user_id.section_id', '=', user.default_section_id,id)], but unfortunately I did'nt get success. I have applied numerous different domains but all are failed. Please help me out of this problem.


Your Answer

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/18/15, 4:41 AM
Seen: 471 times
Last updated: 3/16/15, 8:10 AM