change desc to asc

This commit is contained in:
Pawan Kumar 2021-04-07 12:09:52 +05:30
parent fc09e07f35
commit 92980f8473
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ import dateutil.parser
class AccountAnalyticLine(models.Model):
_inherit = 'account.analytic.line'
#_order = 'date desc, id desc'
_order = 'date desc, unit_amount desc'
_order = 'date desc, unit_amount'
@api.depends('project_id', 'employee_id')
def name_get(self):

View File

@ -9,7 +9,7 @@ class ProjectTimelineReport(models.Model):
_name = "project.timesheet.report"
_description = "Project Timesheet Report"
_order = 'start_date desc, duration desc, project_id desc'
_order = 'start_date desc, duration, project_id desc'
_auto = False
start_date = fields.Date(string='Start Time', readonly=True)