Skip to content

Commit

Permalink
Merge PR #329 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by huguesdk
  • Loading branch information
github-grap-bot committed Oct 13, 2024
2 parents 37b5157 + c531269 commit d6aae87
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ class ResourceMixing(models.AbstractModel):

def get_calendar_for_date(self, date):
calendar = super().get_calendar_for_date(date)
return calendar._get_multi_week_calendar(day=date)
if calendar is not None:
calendar = calendar._get_multi_week_calendar(day=date)
return calendar

0 comments on commit d6aae87

Please sign in to comment.