跳至內容
選單
此問題已被標幟
1 回覆
4484 瀏覽次數

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

頭像
捨棄
最佳答案

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

Hope it helps, Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 23
1016
1
9月 23
1141
2
6月 23
11521
1
11月 21
4314
0
5月 21
2515