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

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?

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

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 24
1718
2
thg 10 23
1905
2
thg 6 20
5537
0
thg 8 15
4147
1
thg 6 25
631