Skip to content

[ADD] filter_appointment: add advanced filters to appointment listing page #748

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

Draft
wants to merge 2 commits into
base: 18.0
Choose a base branch
from

Conversation

kame-odoo
Copy link

This commit adds new filtering options to the website appointment page,
improving the user experience by allowing visitors to filter appointments
by type (online/offline), payment requirement, and scheduling method
(users/resources).
A custom controller extends the base WebsiteAppointment to dynamically
build a filter domain based on user input and combine it with the standard
appointment domain logic.
In UI part, the website_calendar_index_topbar template is extended to include
three dropdowns that submit on change, making the filtering seamless.

Added a new module named filter_appointment. This module extends the
website_calendar_index_topbar template to include filter dropdowns for
appointments.
The filters allow users to refine results based on payment
type, appointment type (online/offline) and availability (user or resource).
This enhances the user experience by making it easier to find suitable
appointments.
This commit customizes the appointment_type_index route to introduce
new filtering options for appointments on the website. Users can now
filter appointments based on:
Online or offline location ()
Whether a payment step is required ()
Whether scheduling is based on users or resources ()
@robodoo
Copy link

robodoo commented May 2, 2025

Pull request status dashboard

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