Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
2279 มุมมอง

in my organisation there are 2 teams working together 


  • Marketing Team / Leads Assigner Team
  • Sales Team / Leads Assignee Team

I am looking for solution that the leads assign by marketing should be visible to Marketing team like how much number of leads / contacts assign by them to sales team and restrict marketing person can only see thier own contact or leads uploaded from day one

So here i wanna manage both team performance and privacy together 


Kindly help me solve my case



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can try this record rule in your xml file inside the security.

<record id="crm_lead_opportunity_rule" model="ir.rule">


    <field name="name">CRM Lead Team Lead/sales person Rule</field>


    <field name="model_id" ref="model_crm_lead"/>


    <field name="domain_force">['|', '|', ('user_id', '=', user.id), ('team_id.user_id', '=', user.id),('team_id.member_ids', '=', user.id)]</field>


</record>


Regards

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Below post might help in creating the rule. additionally you might need rule to  limit use of contacts between the teams

https://www.odoo.com/forum/help-1/record-rule-for-sales-team-members-in-crm-202111

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
CRM, res_partner and fields แก้ไขแล้ว
2
มิ.ย. 25
1868
1
ต.ค. 24
3687
1
ส.ค. 24
1875
1
ส.ค. 24
2209
1
มิ.ย. 24
3516