Community mailing list archives

community@mail.odoo.com

Re: CRM Sales Team shared Leads (performance)

by
Leonardo Donelli
- 09/08/2014 10:23:03
2014-09-08 14:57 GMT+02:00 Markus Schneider <markus.schneider@initos.com>:
> I try to look for odoo v8 [1] how sales_team should correct implemented
> that multiple people can share leads and see only the one of his own
> salesteam. But it looks like the rights are not really implemented as
> you aspect. (sidemark: so the screenshot of sales teams are only candy
> marketing for new Odoo Version [2])

Odoo R&D peeks come from the odoo-dev repository, not the odoo one.
You can probably find it implemented in one of the branches here:
https://github.com/odoo-dev/odoo/
filter the branches for "master-crm"

> Has someone experience and some hint to speed up domains like:
> (section_id.member_ids','child_of',user.id)
>
> As we see in the postgres logs openerp pulls first ids and reuse it
> later for the next query instead of building joins (or subsulects).

Can you give us the resultin query and the time it takes?