Odoo Help

0

How can I extend " crm_lead_opportunities " action in my custom module

By
Barış Erdoğan
on 18-2-9 上午9:57 124 views

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>

1

Niyas Raphy

--Niyas Raphy--
--Niyas Raphy--

Odoo Techno Functionalist @ Cybrosys Techno Solutions

Graduation : B-Tech in Computer Science & Engineering from Calicut University (2012 - 2016)


Niyas Raphy
On 18-2-12 上午6:57

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

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: 18-2-9 上午9:57
Seen: 124 times
Last updated: 18-2-13 上午12:45