Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

Hi all, 

I want to call a funtion in the python interface-python code of an automated action.

The Issue: the method is part of another model, the Automation runs on Model crm.lead and the function is part of custom module crm.task.wizard.


How do I call create_task() from crm.task.wizard from the automated action? (see picture->doesnt work)




Thanks in advance!!

Friedrich

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

I would try this
for record in records:
record.action_create_task()

Tác giả

Hi Jaideep,
thank you but I decided to use the 'create a record' execution to stay more adaptable to process changes!
Thank you

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 23
2223
2
thg 9 23
2464
3
thg 12 24
5950
1
thg 10 24
956
3
thg 4 24
2011