跳至內容
選單
此問題已被標幟
1 回覆
2052 瀏覽次數

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?

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
2月 24
1685
2
10月 23
1880
2
6月 20
5495
0
8月 15
4060
1
6月 25
533