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

calendar_base_booking: extend readme, comment cleanup, function rename #1

Open
wants to merge 8 commits into
base: 14.0-add-calendar_base_booking
Choose a base branch
from

Conversation

kevinkhao
Copy link

No description provided.

@kevinkhao
Copy link
Author

@sebastienbeau

@kevinkhao kevinkhao force-pushed the 14.0-calendar_base_booking_imp branch 2 times, most recently from ec4c3a8 to 57d43c0 Compare June 25, 2021 14:08
@kevinkhao kevinkhao force-pushed the 14.0-calendar_base_booking_imp branch from 65c4f45 to a64f545 Compare July 8, 2021 22:31
@kevinkhao kevinkhao force-pushed the 14.0-calendar_base_booking_imp branch from a64f545 to 21bcfc5 Compare July 8, 2021 22:36
return slots

def _get_domain_for_current_object(self):
def get_booked_slots(self, start=None, stop=None):
if start and stop:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I not sure that it's usefull to have the possibility to not pass a start and stop date ? (for the two other method it's required and I do not see case of use)

Copy link
Member

@sebastienbeau sebastienbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the improvement and the clarification, the code is now more readable !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants