Files
odoo_source/addons/hr_holidays
Nasreddin (bon) 9d43a73394 [FIX] hr_holidays: Display correct number of days
Issue

	- Install `Time Off` module
	- Go to `Time Off` and switch to month calendar view (default view)
	- Select range of date

	In wizard, `duration` is not set.

Cause

	`date_to` and `date_from` are overided on default get request.

Solution

	Do not override default value of `date_from` and
	`date_to` if provided in default get request.

opw-2447931

closes odoo/odoo#66044

X-original-commit: 1ec4aa0b61777739d8bc82bbee968b9838f58410
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2021-02-12 11:00:01 +00:00
..