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

Hi. I am running several projects and have found that there is no numbering of the tasks in the order of creation. Basically I cannot see which task was created before the other except when I open it. This is extremely uncomfortable and creates extra work. 
Could you please help maybe there is some workaround. Does anybody have the same issue?) 
Thanks 

頭像
捨棄

open list view and give group by project will that work ?

最佳答案

If You're searching a way to make it work with code, try adding list view with data from query like that:


project_id = 1 #set needed project id
self.env.cr.execute("""SELECT * FROM public.project_task
WHERE project_id = """ + project_id +
ORDER BY create_date""")
self.env.cr.fetchall()
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 15
5840
1
1月 25
1730
0
8月 22
2600
2
7月 22
2453
0
3月 22
2592