Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Social media Marketing
    • E-mailmarketing
    • SMS Marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

Poor UX in Appointment Cancellation Flow

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
CalendarAppointmentsUX
1 Beantwoorden
1147 Weergaven
Avatar
Eileen Ang

My appointment set-up assignment method is "Pick User/Resource then Time". It seems that because of this, I get a poor appointment cancellation UX. 


What happens: 

When a customer clicks "Cancel Appointment" on the online booking page, they are immediately redirected to the "Choose Resource" screen with no confirmation or visual indication that the appointment was cancelled. 

Only after they have clicked on a resource, are they then shown the "Appointment Cancelled" page. 

This causes confusion - customers will assume the cancellation didn't go through. The actual cancellation confirmation only appears after selecting a resource again, which is illogical and very poor user experience. 

To add to this, it doesn't matter what resource they've clicked, it doesn't even have to be the one they booked. As long as they click on any resource, they are redirected to the cancellation confirmation page. This seems very illogical to me and causes even myself a lot of confusion. 


How can I fix this? I feel that this is a UX flaw that should be corrected in the original module. 


Expected behaviour: 

  • After clicking "Cancel Appointment", the user should immediately be shown a cancellation confirmation 
  • There should be no further navigation required to confirm the action, especially when there is no explanation on the choosing resource page on what to do next 

I'm using odoo online so I cannot access the routes. How else can I fix this? 

2
Avatar
Annuleer
Avatar
Christoph Farnleitner
Beste antwoord

This apparently is a bug and should be reported to https://odoo.com/help. The behavior can be reproduced in https://demo.odoo.com using - and this is an important side note - Assignment Method 'Pick User/Resource then Time' AND Availability on 'Resources (e.g. Tables, Courts, Rooms, ...)'. Since this configuration works as you've suggested when Availability on is set to 'Users' it seems to me like a simple oversight in testing.

If the current behavior bothers you too much, you can do the following hotfix (a temporary solution only!):

Enable the Developer Mode (https://www.odoo.com/documentation/18.0/applications/general/developer_mode.html), then navigate to Settings -> Technical --> User Interface -> Views.

Here, you will need to modify two view templates:

  • Key: appointment.appointment_info (Appointment: Appointment Info)
  • Key: website_appointment.appointment_select_operator (Appointment: Appointment Operators)

appointment.appointment_info:

Line 41 to 44 should currently read:

<div t-if="state == 'cancel'" role="alert" class="o_appointment_cancelled alert alert-danger">
<strong>Appointment cancelled!</strong>
You can now choose a different schedule that suits you better.
</div>

Replace it with:

<!-- hotfix to address missing cancellation message: start -->
<!-- this will prevent the cancellation message from being displayed a second time when re-scheduling right after a cancel event -->
<!-- see https://www.odoo.com/forum/1/280749 for details -->
<!--
<div t-if="state == 'cancel'" role="alert" class="o_appointment_cancelled alert alert-danger">
<strong>Appointment cancelled!</strong>
You can now choose a different schedule that suits you better.
</div>
-->
<!-- hotfix to address missing cancellation message: end -->

(This will prevent the cancellation message from appearing in the time-slot selection view future onwards. Make sure this does not clash with other appointment types in your system!)


website_appointment.appointment_select_operator:

Line 22 to 23 should currently read:

<div class="row">
<div t-if="appointment_type.schedule_based_on == 'users'" t-foreach="users_possible" t-as="staff_user" class="col-md-6 col-lg-4 mb-4">

In between these two lines, add this:

<!-- hotfix to address missing cancellation message: start -->
<!-- this will fetch the GET parameter 'state' from the URL and display a cancellation message if that parameter's value is 'cancel' -->
<!-- see https://www.odoo.com/forum/1/280749 for details -->
<div t-if="request.params.get('state') == 'cancel'" role="alert" class="o_appointment_cancelled alert alert-danger">
<strong>Appointment cancelled!</strong>
You can now choose a different schedule that suits you better.
</div>
<!-- hotfix to address missing cancellation message: end -->


Your result will look like this then:


Please note:

This is not a recommended, update-safe way of implementing changes to templates! In my opinion it is however a doable approach when a custom hot fix needs to be applied in Odoo Online until the issue is resolved in core.


Note as well: 

This change may has to be manually reverted or reset, once/when/if a solution is provided by Odoo help desk.
To do so, you can navigate to these two views again, click the Actions cog -> Compare/Reset

 


In the appearing wizard view, select Reset Mode 'Reset to file version (hard reset)' and click Reset View

(the source it will reset to may differ from what has been changed / is visible in the screen in case a fix by Odoo was applied to either of these files)


Final note: Above hotfix works, because 'There should be no further navigation required to confirm the action' is actually not needed. The cancellation has happened at the time of (prior to) being redirected and the problem is just a visual one.

1
Avatar
Annuleer
Eileen Ang
Auteur

Thank you so much for looking into the issue and your extremely detailed response. I will be submitting a bug report on this issue to Odoo. I really appreciate your help also in identifying a hotfix as well as highlighting how to reverse the fix if/when the core issue has been resolved.

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
How to add new answer type to questions in Appointments
Appointments
Avatar
Avatar
1
apr. 25
1203
Multi-booking for appointments?
Appointments
Avatar
0
feb. 25
2124
Issue with Double Bookings in Appointment Module Due to Extra Availability
Appointments
Avatar
0
feb. 25
1690
Online appointment causing duplicate contacts
duplicate Appointments
Avatar
0
mrt. 25
1400
Where is Appointment tag added to meeting for website appointments
categories Appointments
Avatar
0
nov. 24
1212
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now