Odoo Help

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 522 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.

 

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

Question tools

1 follower(s)

Stats

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