frappe / hrms

Open Source HR and Payroll Software
https://frappehr.com
GNU General Public License v3.0
984 stars 551 forks source link

fix(Shift Assignment): type error while comparing dates during computation of previous/next shift (backport #1839) #1883

Closed mergify[bot] closed 2 weeks ago

mergify[bot] commented 2 weeks ago

Closes: https://github.com/frappe/hrms/issues/1832

Fixes: TypeError: can't compare datetime.datetime to datetime.date

Regression from: https://github.com/frappe/hrms/pull/1703


This is an automatic backport of pull request #1839 done by Mergify.

frappe-pr-bot commented 2 weeks ago

:tada: This PR is included in version 15.22.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: