summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-08-17 11:25:11 +0200
committerThibault Delavallée <tde@odoo.com>2018-09-10 13:09:00 +0200
commit744de4ee1cec5e43aa77ac3eccc7a9b1224f8fa1 (patch)
treeef7b57e39b216b0a3ed21963293a37861b31d61d /addons/web/static/src/js/views/basic/basic_controller.js
parent14491e8f9b23525f6d9017cfbc91366849a63389 (diff)
[REF] hr_holidays: improve leave form view and simplify duration encoding
Purpose of this commit is to simplify leave request encoding. We want less options and more straightforward encoding of leave requests. Specifications * taking half-day leaves is limited to one half day. It is not possible anymore to take leaves in half days that span on several days. WHen choosing half day the user choose whether he takes the morning or the afternoon of the given day; * choosing half-days leaves spanning on several days can be done taking several leaves if necessary. It is considered as a corner case that should not bloat the interface; * taking hours-based leaves is limited to a given day. It is not possible anymore to take leaves given some start and end hours that span on several days. When choosing hours the user choose the start and end hours using a selection for every half-hour for the given day; * choosing hours-based leaves spanning on several days can be done taking several leaves if necessary. It is considered as a corner case that should not bloat the interface; * taking leaves spanning on several days is necessarily done with full length days; Various misc specifications about form view cleaning * hide "To submit" stage in the stage bar; * move description below duration information; * remove display name; Duration computation, various fields and form view are updated accordingly to this specification. This commit is linked to task ID 1876795 and PR #26571.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions