Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2593 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Agu 20
10377
1
Des 24
1792
2
Jun 21
6521
2
Jun 25
855
4
Agu 24
2243