Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bugs monthly attendance sheet #217

Merged

Conversation

riandrys
Copy link
Contributor

@riandrys riandrys commented Nov 25, 2022

fix: year_list when doesn't exist attendance records
This bug happens when we open the Report Monthly Attendance Sheet and doesn't exist Attendance records.
Fix AttributeError: 'int' object has no attribute 'year'
error1
error2

fix: get_holiday_status when holidays are None
This bug happens when we try to call the get_holiday_status method
with 'holidays' parameter equal None.
'holidays' is None because the company doesn't have a Default Holiday List defined and the employees don't have a Holiday List defined either.

Bug: TypeError: 'NoneType' object is not iterable
error4

Riandrys Góngora Román added 2 commits November 25, 2022 02:49
This bug happens when doesn't exist Attendance records.
Fix AttributeError: 'int' object has no attribute 'year'
This bug happens when we try to call the get_holiday_status method
with 'holidays' parameter equal None.
Bug: TypeError: 'NoneType' object is not iterable
@saurabh6790
Copy link
Member

@riandrys Please add pr description or link of the issue

@saurabh6790 saurabh6790 merged commit bf3da83 into frappe:develop Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants