Odoo Help

Welcome!

This community 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.

0

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

By
Hammad hussain qureshi
on 2/18/15, 4:41 AM 413 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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