[FIX] hr_holidays: display latest leaves first

This commit is contained in:
Thibault Delavallée
2015-12-04 17:56:08 +01:00
parent 09411a4a50
commit c711f3d897
+1 -1
View File
@@ -122,7 +122,7 @@ class hr_holidays_status(osv.osv):
class hr_holidays(osv.osv):
_name = "hr.holidays"
_description = "Leave"
_order = "type desc, date_from asc"
_order = "type desc, date_from desc"
_inherit = ['mail.thread', 'ir.needaction_mixin']
def _employee_get(self, cr, uid, context=None):