تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3506 أدوات العرض

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
ديسمبر 15
5832
1
يناير 25
1727
0
أغسطس 22
2597
2
يوليو 22
2438
0
مارس 22
2589