Skip to Content
Menu
This question has been flagged
1 Atsakyti
4522 Rodiniai

I want to set different domains for my custom filter depending on the login customer. I have successfully created a custom filter with static domain as: 

<filter help="My Partners" name="my_partners" icon="terp-personal+" domain="[('user_id','=',uid)]"/>

But now I want to dynamically assign the domain to this custom filter using python. Thanks in advance

Portretas
Atmesti
Best Answer

You can follow this: https://youtu.be/XGqXEL2qQmE 

Hope it helps, Thanks

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
lapkr. 23
1041
1
rugs. 23
1163
2
birž. 23
11560
1
lapkr. 21
4342
0
geg. 21
2536