summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.contentMenu.js
diff options
context:
space:
mode:
authorDenis Vermylen (dve) <dve@odoo.com>2016-09-27 10:51:37 +0200
committerDenis Vermylen (dve) <dve@odoo.com>2016-09-27 10:51:37 +0200
commit6490bdc26323423c9a6b3fe11ea362401c5c0ba9 (patch)
treea604a7c9a8c00948ebb01d8b91465e9053dd96f1 /addons/website/static/src/js/website.contentMenu.js
parentccd6fc621ba81c3c6b632053796a14ee99f529a2 (diff)
[IMP] hr_holiday: remove leave onchange date check
When you create a leave, you first set the start date. The date widget triggers and automatically sets you at today, which triggers the onchange and puts the end date at today + 8 hours. You then set your start date in the future -> invalid dates because start date > end date. This commit removes the onchange verification of the dates, because almost everyone gets the above problem and because it is redundant with the sql constraint that triggers anyway when you try to save with invalid dates.
Diffstat (limited to 'addons/website/static/src/js/website.contentMenu.js')
0 files changed, 0 insertions, 0 deletions