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

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 

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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()
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 15
5832
1
thg 1 25
1727
0
thg 8 22
2597
2
thg 7 22
2438
0
thg 3 22
2589