Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Poor UX in Appointment Cancellation Flow

Subscriure's

Get notified when there's activity on this post

This question has been flagged
CalendarAppointmentsUX
1 Respondre
1152 Vistes
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
Descartar
Avatar
Christoph Farnleitner
Best Answer

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
Descartar
Eileen Ang
Autor

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.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
How to add new answer type to questions in Appointments
Appointments
Avatar
Avatar
1
d’abr. 25
1208
Multi-booking for appointments?
Appointments
Avatar
0
de febr. 25
2132
Issue with Double Bookings in Appointment Module Due to Extra Availability
Appointments
Avatar
0
de febr. 25
1695
Online appointment causing duplicate contacts
duplicate Appointments
Avatar
0
de març 25
1406
Where is Appointment tag added to meeting for website appointments
categories Appointments
Avatar
0
de nov. 24
1213
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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