Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037032Retail ModulesWeb POSpublic2017-10-09 11:422017-10-31 18:01
lmonreal 
jorge-garcia 
highmajoralways
closedfixed 
5
 
RR18Q1 
marvintm
No
0037032: If selecting and saving two orders in Errors while importing Posdata only the status of the first one is automatically updated
When selecting two orders in Errors while importing Posdata and saving them only the status of the first one is automatically updated.
And if I process it twice it generates an Error in OrderLoader and it cannot be removed from back end.
1. Close periods in backend
2. Do three sales in WEBPOS
3. Go to Errors while importing Posdata and the three transactions should be there
4. Open periods again
5. Select two of the transactions in Errors while importing POSdata and press Save again
6.Then a pop up saying "Order saved successfully". Click Ok
7. First transaction selected show status "Imported Correctly" but the second is still in "Not imported due to errors", status has not been updated automatically
8. Then I reselect this second transaction again (withouth pressing refresh!) and I select the third one as well and click Save again
9.Then a pop up saying "there was an error while saving the order" is displayed. Click OK
10.Refresh, the third order has been processed correctly but the second one that I have saved twice because the status was not updated automatically has changed to org.openbravo.base.exception.OBException: Error in OrderLoader. And I cannot delete it from the backend.
No tags attached.
png 1.PNG (299,452) 2017-10-09 11:42
https://issues.openbravo.com/file_download.php?file_id=11151&type=bug
png 2.PNG (289,332) 2017-10-09 11:42
https://issues.openbravo.com/file_download.php?file_id=11152&type=bug
png 3.PNG (133,944) 2017-10-09 11:42
https://issues.openbravo.com/file_download.php?file_id=11153&type=bug
png

png 4.PNG (134,400) 2017-10-09 11:43
https://issues.openbravo.com/file_download.php?file_id=11154&type=bug
png

png 5.PNG (131,372) 2017-10-09 11:43
https://issues.openbravo.com/file_download.php?file_id=11155&type=bug
png
Issue History
2017-10-09 11:42lmonrealNew Issue
2017-10-09 11:42lmonrealAssigned To => Retail
2017-10-09 11:42lmonrealFile Added: 1.PNG
2017-10-09 11:42lmonrealTriggers an Emergency Pack => No
2017-10-09 11:42lmonrealFile Added: 2.PNG
2017-10-09 11:42lmonrealFile Added: 3.PNG
2017-10-09 11:43lmonrealFile Added: 4.PNG
2017-10-09 11:43lmonrealFile Added: 5.PNG
2017-10-09 11:47lmonrealResolution time => 1509318000
2017-10-10 12:12ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-10-10 12:12ranjith_qualiantech_comStatusnew => scheduled
2017-10-30 16:18jorge-garciaAssigned Toranjith_qualiantech_com => jorge-garcia
2017-10-30 17:53hgbotCheckin
2017-10-30 17:53hgbotNote Added: 0100160
2017-10-30 17:53hgbotStatusscheduled => resolved
2017-10-30 17:53hgbotResolutionopen => fixed
2017-10-30 17:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c27d77dad245cd187114647019541b4990c8c9e5 [^]
2017-10-31 18:01marvintmReview Assigned To => marvintm
2017-10-31 18:01marvintmStatusresolved => closed
2017-10-31 18:01marvintmFixed in Version => RR18Q1

Notes
(0100160)
hgbot   
2017-10-30 17:53   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c27d77dad245cd187114647019541b4990c8c9e5
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Oct 30 17:53:15 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c27d77dad245cd187114647019541b4990c8c9e5 [^]

Fixed issue 37032: If selecting and saving two orders in Errors while
importing Posdata only the status of the first one is automatically updated

CloseProcessPopup function only refresh the current record in the grid.
Following the wiki the function to be used is refreshGrid function instead to
work with multirecords.

---
M web/org.openbravo.retail.posterminal/js/components/errors.js
---