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

In automated actions I've created an action that automatically creates an activity whenever a sales order is created. It's a chain of activities: "Ready for review" -> "Ready for invoicing" -> "Follow up".

However it always sets the responsible sales person to the activity, I want the activity to be applied to the user who created the order. Any help would be greatly appreciated.

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

Should be possible.  The field for the user who created the order is create_uid so you need to select Generic User From Record as the Activity User Type and set the User field name to that value:


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

Thanks for your answer!

Before I noticed your response I found a different solution elsewhere which was to set it to sales_id which seems to work.

Ảnh đại diện
Huỷ bỏ

Which version of Odoo?

Tác giả

v16 enterprise

I can't find that field sales_id in v16