Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2069 Vistas

I created a project and I am creating several tasks under it, I need each task created to start its name with : Project Name - Task Name. I am using only Odoo studio and I don't need to do a customized module. Is there anyway to achieve this?

Avatar
Descartar
Mejor respuesta

Hi

Since you are using Odoo Online, create an automated action to update the task name as Follow:


On creating a new record in Task(project.task), this automated action will trigger and update the Name of the Task.code:

record.write({
  'name': record.project_id.name + ' ' + '-' + ' ' +record.name
})


Hope it helps

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
feb 24
1691
2
oct 23
1890
2
jun 20
5512
0
ago 15
4084
1
jun 25
567