Skip to Content
Menu
This question has been flagged
1 Reply
2584 Views

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 

Avatar
Discard

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

Best Answer

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()
Avatar
Discard
Related Posts Replies Views Activity
1
Dec 15
5028
0
Nov 24
68
0
Aug 22
1269
2
Jul 22
1266
0
Mar 22
1263