콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3564 화면

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
5871
1
1월 25
1764
0
8월 22
2641
2
7월 22
2474
0
3월 22
2619