Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4627 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Hope it helps, Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 23
1091
1
thg 9 23
1232
2
thg 6 23
11654
1
thg 11 21
4422
0
thg 5 21
2592