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

Hello,

In CRM kanban view, I'd like to see leads of the currentyl logged user at the top. Therefore, I've prepared a custom filed "is_mine", which returns 1 if the lead belongs to the current user, and 0 if not. Then I've set the _order parameter of my model to "is_mine desc". Although computed field works, the proper leads never come on top. Setting kanban view parameter default_order also didn't help. What may I be doing wrong?


Best regards,

Wojciech 

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

Hello Wojciech,

Try the below passing in CRM Action:

context {'search_default_is_mine': 1}

domain [('is_mine','=',1)]

Thank You!

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
order in view kanban แก้ไขแล้ว
3
ส.ค. 20
10329
1
ธ.ค. 24
1694
2
มิ.ย. 21
6475
2
มิ.ย. 25
745
Problem with kanban View แก้ไขแล้ว
4
ส.ค. 24
2129