[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:
committed by
Laurent Stukkens (LTU)
parent
bf6f91eab9
commit
9ed5f1e64d
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user