Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036848Retail ModulesWeb POSpublic2017-09-13 13:592017-09-26 18:24
marvintm 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036848: Save Delete Tickets functionality is not working correctly in Synchronized Mode in some cases
When working on synchronized mode, all requests done to the backend force a refresh of the cashup information just before processing the request, to ensure that the data we work with is always updated.

However, when Save Delete Tickets functionality is enabled, and a ticket is disabled, this ticket is synchronized to the backend, and in this case, the cashup information is not refreshed.

This can cause some problems in some cases, because the cashup information we would send as part of the synchronization of this ticket may not be completely updated.
- Configure Save Delete Tickets functionality.
- Configure Synchronized Mode.
- Login in the Web POS.
- Create a ticket, and process it having the developer tools activated. Realize that just before the request which synchronizes the information of the ticket, there is a previous request to load the cashup information.
- Create another ticket and then delete it. Realize that the request which synchronizes it appears, but the previous request to refresh the cashup information doesn't exist.
Force the cashup refresh like we do in other ticket synchronization cases.
No tags attached.
Issue History
2017-09-13 13:59marvintmNew Issue
2017-09-13 13:59marvintmAssigned To => Retail
2017-09-13 13:59marvintmResolution time => 1506549600
2017-09-13 13:59marvintmTriggers an Emergency Pack => No
2017-09-25 09:31ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-09-25 09:31ranjith_qualiantech_comStatusnew => scheduled
2017-09-26 08:24hgbotCheckin
2017-09-26 08:24hgbotNote Added: 0099571
2017-09-26 08:24hgbotStatusscheduled => resolved
2017-09-26 08:24hgbotResolutionopen => fixed
2017-09-26 08:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/efb0a117f33e9e402d9b25590be0d06e7c8b2805 [^]
2017-09-26 18:24marvintmReview Assigned To => marvintm
2017-09-26 18:24marvintmStatusresolved => closed
2017-09-26 18:24marvintmFixed in Version => RR17Q4

Notes
(0099571)
hgbot   
2017-09-26 08:24   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: efb0a117f33e9e402d9b25590be0d06e7c8b2805
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Sep 26 11:36:21 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/efb0a117f33e9e402d9b25590be0d06e7c8b2805 [^]

Fixed issue 36848 : Rebuild cashup info when ticket is deleted

* With Synchronized mode and Save Removed ticket preference, cashup should be rebuild from server when ticket is deleted

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---