Ir al contenido
Menú
Se marcó esta pregunta

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

Avatar
Descartar

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

Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
0
sept 23
2187
2
sept 23
2430
3
dic 24
5874
1
oct 24
922
3
abr 24
1955