I have a custom module. Some applications are loaded like Crm, Sales, Invoice vs...
There are two fields in lead form : Sales Person and Other Sales Person
The other salesperson does not see the opportunities he has been assigned on My Pipeline.
I need to write a filter for it. Does anyone have an idea?
<record model="ir.actions.act_window" id="crm_lead_extended_opportunities">
<field name="name">Extended Pipeline</field>
<field name="res_model">crm.lead</field>
<field name="view_mode">kanban,tree,graph,pivot,form,calendar</field>
<field name="domain">[('user_id','=',x_other_ssales_person.id)]</field>
....
</record>