Skip to Content
Menu
This question has been flagged
1 Atsakyti
5079 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
1440
1
rugs. 23
1611
2
birž. 23
12169
1
lapkr. 21
4897
0
geg. 21
3013