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

Hello Guys,

I want to create an automatic action to generate an activity.

The activity should be set to the object crm.lead.the team leader of the sales team should be used as the user. 

Unfortunately, this does not work if I set the field:

 activity_user_field_name = team_id.user_id
 
Can I use this field only for user in the same model?

Is there any other way to select the user?

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

you can make simple after that customise by python. but simple way(works).
model-lead/opp, triger-on update, action-create new activity filter domain(i made as stage change), activity id and responsible i set just user. but it can be simple done by generic from form user or use python code and it will be done.
here quite good egzamples https://odootricks.tips/about/automated-actions/

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 3 25
1875
1
thg 11 21
3536
1
thg 3 25
1002
3
thg 8 23
2798
0
thg 7 23
2068