Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5184 Vizualizări

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>

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,
If you want to rewrite the above record with necessary changes, you can do it as follows,

The first line of the record rewrite it as,

<record model="ir.actions.act_window" id="original_module_name.crm_lead_extended_opportunities">

and make the necessary changes you want in filter.

Thanks

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
mai 21
7532
1
mai 23
6641
9
dec. 17
15285
4
aug. 17
7519
0
mai 23
8681