Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2573 Prikazi

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 

Avatar
Opusti
Best Answer

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

   

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
avg. 20
10351
1
dec. 24
1719
2
jun. 21
6491
2
jun. 25
778
4
avg. 24
2171