Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037291Retail ModulesWeb POSpublic2017-11-14 16:392017-11-28 17:55
xabiermerino 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037291: [SERQA 3490] System problem 'Unknown Error' when the user delete the first ticket of a new terminal
System problem 'Unknown Error' when the user delete the first ticket of a new terminal (document number 'search key'+ 00000001).

The problem is that OB.MobileApp.model.documentnoThreshold is 0
1.- Activate the preference Web POS Save Removed Tickets
2.- Create a terminal
3.- Log into the new terminal
4.- Check that the document number is the first one (search key + 00000001)
5.- Delete the ticket
6.- See 'Error while importing' and realize that there is an error"
No tags attached.
Issue History
2017-11-14 16:39xabiermerinoNew Issue
2017-11-14 16:39xabiermerinoAssigned To => Retail
2017-11-14 16:39xabiermerinoResolution time => 1512169200
2017-11-14 16:39xabiermerinoTriggers an Emergency Pack => No
2017-11-15 07:25ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-11-15 07:25ranjith_qualiantech_comStatusnew => scheduled
2017-11-17 08:51hgbotCheckin
2017-11-17 08:51hgbotNote Added: 0100565
2017-11-17 08:51hgbotStatusscheduled => resolved
2017-11-17 08:51hgbotResolutionopen => fixed
2017-11-17 08:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/524fd629eb612fdbf38613c54daa870613f7d01a [^]
2017-11-17 12:14marvintmNote Added: 0100575
2017-11-17 12:14marvintmStatusresolved => new
2017-11-17 12:14marvintmResolutionfixed => open
2017-11-20 07:03hgbotCheckin
2017-11-20 07:03hgbotNote Added: 0100607
2017-11-20 07:03hgbotStatusnew => resolved
2017-11-20 07:03hgbotResolutionopen => fixed
2017-11-20 07:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/524fd629eb612fdbf38613c54daa870613f7d01a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9edd75a07df28b2eb967028d9b3a6b984f168f8c [^]
2017-11-21 13:58marvintmNote Added: 0100648
2017-11-21 13:58marvintmStatusresolved => new
2017-11-21 13:58marvintmResolutionfixed => open
2017-11-23 07:43hgbotCheckin
2017-11-23 07:43hgbotNote Added: 0100676
2017-11-23 07:43hgbotStatusnew => resolved
2017-11-23 07:43hgbotResolutionopen => fixed
2017-11-23 07:43hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9edd75a07df28b2eb967028d9b3a6b984f168f8c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5e18981738929a3f4fc60f5e13fcb98787583730 [^]
2017-11-28 17:55marvintmReview Assigned To => marvintm
2017-11-28 17:55marvintmStatusresolved => closed
2017-11-28 17:55marvintmFixed in Version => RR18Q1

Notes
(0100565)
hgbot   
2017-11-17 08:51   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 524fd629eb612fdbf38613c54daa870613f7d01a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 17 13:21:30 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/524fd629eb612fdbf38613c54daa870613f7d01a [^]

Fixed issue 37291 : Save Ticket before delete with save ticket preference

* If "Save Ticket" preference is enabled, then receipt must be saved in local db for sync process

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0100575)
marvintm   
2017-11-17 12:14   
Logic after save should be moved to inside the save callback.
(0100607)
hgbot   
2017-11-20 07:03   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9edd75a07df28b2eb967028d9b3a6b984f168f8c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Nov 20 11:33:34 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9edd75a07df28b2eb967028d9b3a6b984f168f8c [^]

Fixed issue 37291 : Save Ticket before delete with save ticket preference

* If "Save Ticket" preference is enabled, then receipt must be saved in local db for sync process

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0100648)
marvintm   
2017-11-21 13:58   
The problem can still be reproduced:
- create new terminal
- activate preference "Save removed tickets"
- log in the terminal
- delete the ticket which is created immediately

In this case, OrderLoader failed, and ticket goes to "Errors while importing POS Data" window.
(0100676)
hgbot   
2017-11-23 07:43   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5e18981738929a3f4fc60f5e13fcb98787583730
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Nov 23 12:13:01 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5e18981738929a3f4fc60f5e13fcb98787583730 [^]

Fixed issue 37291 : Validate Last Cashup Report date on Receipt complete

---
M src/org/openbravo/retail/posterminal/UpdateCashup.java
---