summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_tree.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-08-12 15:17:23 +0200
committerThibault Delavallée <tde@openerp.com>2013-08-12 15:17:23 +0200
commit6f300c08757e6bbb2e998f0be5ce6f8ab2f967cd (patch)
tree21725405b04aa276e9a3fc2fd25b4d93f89e2ae7 /addons/web/static/src/js/view_tree.js
parent69e80d989c1123d9968106784f10b349510ce8e2 (diff)
parent56360dd74d1c6e5a5d0439043ccd5929cd2ae316 (diff)
[MERGE] [IMP] hr_holidays: days computation and workflow update
Remaining days calculation: - get_days now also calculate virtual remaining days that take into account the confirmed leave requests. - virtual remaining days are taken into account when confirming / validating a leave request. This allows to avoid having several pending leave requests that cannot be validated because of a lack of remaining days once all requests are validated. Workflow update: - begins in confirm state - added transition confirm->draft; transition draft->confirm is not automatic anymore (Confirm button) - added transition refuse->draft, to reset the leave request and allow edition Misc - leave summary does not show refused leave requests anymore - added tests + some fixes for bugs trigerred by the tests (mainly access rights issues) - added changelog bzr revid: tde@openerp.com-20130812131723-ioe7sfgvl20z0npc
Diffstat (limited to 'addons/web/static/src/js/view_tree.js')
0 files changed, 0 insertions, 0 deletions