跳至內容
選單
此問題已被標幟

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

頭像
捨棄

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

作者

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

相關帖文 回覆 瀏覽次數 活動
0
9月 23
2504
2
9月 23
2810
3
12月 24
6511
1
10月 24
1265
3
4月 24
2406