Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1018 Vistas

Hello all, we are experiencing a sporadic issue where a payment is added to a POS order and the receipt is printed, but it still shows up among unpaid orders. This has happened multiple times in the past and I have not been able to find the root cause. Was blaming it on internet dropping but we've had stable internet for a while now


FYI I am self hosting odoo, and installed the audit log addon but maybe I don't know how to use it to debug this further. Any help would be greatly appreciated

Avatar
Descartar
Autor Mejor respuesta

Ok I managed to get some meaningful info from the audit logs for one of the orders. So it turns out the order was created twice in the database ie two records in the pos_orders table with the same pos_reference, but different states. One is in draft, and another is paid. The one in draft was created first and it's the one being returned in the UI

So now question is, what actions could lead to such a thing happening?

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 25
317
0
ago 25
1
3
ago 25
257
0
ago 25
980
2
jul 25
2974