Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2534 Widoki

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 

Awatar
Odrzuć
Najlepsza odpowiedź

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

   

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
sie 20
10319
1
gru 24
1660
2
cze 21
6452
2
cze 25
712
4
sie 24
2112