summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-06-20 10:21:52 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-06-21 09:20:33 +0200
commitf90434b96c3f9fc3cdc60aa15271d31667207694 (patch)
treecf7339bb2ba80d698c5cc659c51042575b6a4720 /addons/web/static/src/js/fields/basic_fields.js
parentab85e9594651fd33ffd2747f4d3c5b360e7c7922 (diff)
[FIX] resource: 24h shift
Create a resource working 24 hours / day. If we record it as: - From 00:00 ; To 24:00 => crash - From 00:00 ; To 23:59 => 1 minute lost The `float_time` widget doesn't allow to be more accurate than 1 minute, therefore it is not possible to record an end time of 23:59:59.999999. We allow a value of 24:00 which is automatically interpreted as 23:59:59.999999. Only 1 microsecond is lost for such use case, which should be acceptable for our level of accuracy. opw-1856943
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions