summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2019-09-04 11:36:04 +0000
committerRomainLibert <rli@odoo.com>2019-09-04 11:36:04 +0000
commitc7f11aae6ebe5c752f571ce54ef839c576c93256 (patch)
tree2fc35e9b9ed019246ae66a8f6a66505845b05deb /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent3a2eee5c8fc7fe58b5cdd21a43f16f0cd9269f38 (diff)
[FIX] hr_holidays: aggregate attendances using day_period and dayofweek
Before this commit, if you had defined multiple attendances for the morning or for the afternoon, the system would only use the first attendance defined for either morning or afternoon. This lead to wrong computations of the real leave length. This commit fixes this issue by getting the min(hour_from) and max(hour_to) for the attendances using a read_group. closes odoo/odoo#36413 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions