diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-12-04 12:44:00 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-12-04 17:56:08 +0100 |
| commit | c711f3d89757e1a7d3c5884d22d77915c82f1433 (patch) | |
| tree | 50c313242c5aa222cd8bad29960c6305a904d922 | |
| parent | 09411a4a508dcfd834ca5a26dbb154190b3a8fb4 (diff) | |
[FIX] hr_holidays: display latest leaves first
| -rw-r--r-- | addons/hr_holidays/hr_holidays.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 346aca17fbc..5927edd8a17 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -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): |
