[IMP] project: sort updates by date

With this commit, project updates are sorted depending on their date
rather than the create date.

task-2638359
closes #76166

X-original-commit: b65edac046bb7fea649474d2282e0afa2d6f5703
This commit is contained in:
Thibault Libioulle
2021-09-14 21:24:59 +02:00
committed by Laurent Stukkens (LTU)
parent bf6f91eab9
commit 9ed5f1e64d
+1 -1
View File
@@ -19,7 +19,7 @@ STATUS_COLOR = {
class ProjectUpdate(models.Model):
_name = 'project.update'
_description = 'Project Update'
_order = 'create_date desc'
_order = 'date desc'
_inherit = ['mail.thread.cc', 'mail.activity.mixin']
def default_get(self, fields):