Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
461 Vistas

I'm using table booking feature in odoo 18 enterprise. It is really convenient and flexible enough but I'm facing a problem.

In appointment type I offer options for booking a table for 3 hours, starting 09:00 daily. I want to provide the option for 09:00, 12:00, 15:00, 18:00 and 21:00. In schedule I've added time span 09:00-00:00 every day.

Unfortunately, no matter what I do, the 21:00 option doesn't display on website appointment. I tried adding e.g. 00:00-01:00 for the next day in schedule but odoo doesn't accept it saying that it is less than the duration of the appointment. I even tried adding 00:00-03:00 for the next day but now I get an extra option for 12:00 am and still no 21:00.

Is there any solution so odoo will extend an appointment to include hours from the next day?

Avatar
Descartar
Mejor respuesta

One work around could be to have duration of 2:59 hrs and create the individual time slots.

Another possibility might be to modify the time format. Unfortunately am unable to test it on 18.0 ee


V18.4 has an additional field 'Create a slot every', which would allow for exactly what you are looking for. If you on Odoo SaaS, you might want to check if there is a possibility to upgrade the database. New databases created are ~18.4+e

https://www.odoo.com/forum/help-1/appointment-booking-buffer-gap-setting-281561

Avatar
Descartar

Oh well, this seems to be a good one!

Autor

Individual time slots did the trick! Thanks! Marking this as the solution!

Mejor respuesta

Set the Duration to 2.9999 hours (i.e. 2h 59min 59,64sec). This rounds to 3 hours, yet the value stored is as given by your input and therefore the slot is just slightly shorter, allowing you to fit 5 3-hour slots into one day starting from 9am.

Note: Odoo will render it as 3:00 hours in this form once you leave the field, this is just for showcasing.


Avatar
Descartar
Autor

I've tried to do it but now I get slots 9:00AM, 11:59AM, 2:59PM, 5:59PM and 8:59PM. Also, my appoint type form doesn't display the Create a slot every field that is present in your screenshot. I'm in odoo 18 enterprise.

You're right, apparently the rounding is just slightly different when comparing current latest Odoo saas~18.4+e with latest 18.0+e. Screens above are taken from https://demo.odoo.com (18.4+e) - but yes, difference can be seen in https://runbot.odoo.com 18.0

Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 25
1551
1
ago 25
516
5
jul 25
9128
1
jul 25
514
0
jul 25
668