diff options
| author | Hitesh Trivedi <htr@openerp.com> | 2014-12-04 17:00:33 +0530 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-12-26 15:07:21 +0100 |
| commit | 24835fd423c2fc0f75d8d5713b14dc04552d8fb7 (patch) | |
| tree | d340693d84570b5f11677b95cf26ff06cc899c12 /addons/web/static/src | |
| parent | c743c65d36c86119f2900db650278f5b53298d98 (diff) | |
[IMP] hr_holidays: when searching on holidays.status with an employee_id in
context and no specific order, order on limited leaves then on remaining leaves.
This is usefull for users having their normal leaves being displayed in top of
the list (legal leaves, compensatory leaves, then sick and unpaid for example).
Also updated the name_get of holidays status, displaying (remaining leaves /
max leaves) instead of (taken leaves / max leaves). What is important for
users is the number of remaining leaves, not the number of leaves already
taken in that type.
Also updated and reindented demo data (compensatory is now limited + order
of declaration due to this change).
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
