odoo/tutorials#395

Created by Vedant Pandey (vpan)
Closed
label
odoo-dev:18.0-practice-task-vpan
head
52a719a048a3bf81a154c0e95493d46a7edc8653
odoo/tutorials
18.0 #395

[ADD] appointment_filter: implemented filters in the website_appointment

Steps to reproduce:

  • Install appointment_filter module (depends on enterprise module website_appointment)
  • Go to website, click on appointment
  • There are 3 drop down menus with title 'Type', 'Payment Step', 'Based On'
  1. Type filter will have 3 options 'All', 'Online', 'Offline'
  • Clicking 'All' will display all appointments
  • Clicking 'Online' will display only online appointments
  • Clicking 'Offline' will display only offline appointments
  1. Payment Step filter will have 3 options 'All', 'Paid', 'Unpaid'
  • Clicking 'All' will display all appointments
  • Clicking 'Paid' will display only those appointments which are paid
  • Clicking 'Unpaid' will display only those appointments which are unpaid
  1. Based On filter will have 3 options 'All', 'Users', 'Resources'
  • Clicking 'All' will display all appointments
  • Clicking 'Users' will display only those appointments which are schedule based on Users
  • Clicking 'Resources' will display only those appointments which are schedule based on Resources

Purpose of Changes

Previously, the website_appointment module lacked filtering options,
which ruins the user experience, in order to enhance the user experience

Changes

We added three new filters:
Appointment Type – Filter by Online/Offline appointments.
Payment Step – Show appointments that require payment or not.
Schedule Based On – Filter by Users or Resources.

task-4600005