Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039966Retail ModulesWeb POSpublic2019-01-16 17:482019-02-04 18:51
normalcriticalhave not tried
0039966: Under certain circumstances tickets are not saved localy and it could lead in a lost ticket
Under certain circumstances tickets are not saved localy and it could lead in a lost ticket.

It happens when "saves" are executed assuming that a register exists in local database with a certain ID. If this ID does not exists the update fails and the order is not saved in local database.

Actions done by the user in the UI will work, and the preception for the user will be that everything is working fine but at the end the ticket will not be synchronized.

Since we are able to detect the situation (not the root cause) we propose to inform to the user with a popup. It is true that it is not a good practice, but we prefer to show an intrusive popup to the user asking him to refresh than have a lost ticket.
1. Login in web POS
2. Add a line to the ticket
3. Using developer tools, remove table c_order
4. Add other line to the ticket
5. Complete the ticket

It will result in a lost ticket.

After the fix, step 4 will raise a popup.
When problematic situation is reached, a red popup will be shown asking to the user to refresh the application.
No tags attached.
Issue History
2019-01-16 17:48guilleaerNew Issue
2019-01-16 17:48guilleaerAssigned To => guilleaer
2019-01-16 17:48guilleaerTriggers an Emergency Pack => No
2019-01-18 08:06hgbotCheckin
2019-01-18 08:06hgbotNote Added: 0108999
2019-01-18 08:06hgbotStatusnew => resolved
2019-01-18 08:06hgbotResolutionopen => fixed
2019-01-18 08:06hgbotFixed in SCM revision => [^]
2019-01-22 14:51hgbotCheckin
2019-01-22 14:51hgbotNote Added: 0109076
2019-02-04 18:51marvintmReview Assigned To => marvintm
2019-02-04 18:51marvintmStatusresolved => closed
2019-02-04 18:51marvintmFixed in Version => RR19Q2

2019-01-18 08:06   
Repository: erp/pmods/
Changeset: 489fb9e0aec19e6a1c76c3693f5142a4f7608ae9
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Thu Jan 17 12:50:00 2019 +0100
URL: [^]

Fixed issue 39966: Error popup is shown when order saves are not executed in localDB

M src-db/database/sourcedata/AD_MESSAGE.xml
M web/
M web/
2019-01-22 14:51   
Repository: erp/pmods/
Changeset: e7cc01ddd30577108649247f28e6656d699e0895
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at>>
Date: Tue Jan 22 14:51:27 2019 +0100
URL: [^]

Related to issue 39966: fix label value

M src-db/database/sourcedata/AD_MESSAGE.xml