Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039928Retail ModulesWeb POSpublic2019-01-11 14:512019-02-26 17:13
aferraz 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
RR19Q2 
jorge-garcia
No
0039928: Ticket not synchronized although Web POS Save Removed Tickets preference is enabled
Ticket not synchronized although Web POS Save Removed Tickets preference is enabled
- Enable Web POS Save Removed Tickets preference
- Login in VBS-1 terminal with Vallblanca user
- Create a ticket and delete it. Realize ticket is synchronized with backend.
- Change customer to Arturo Montoro
- Lock screen
- Login again with Vallblanca user
- Delete current ticket. Realize ticket is not synchronized with backend and an error is shown in browser console.
No tags attached.
related to defect 0039932 closed ranjith_qualiantech_com Ticket closed message in Log Client window should be created after preSyncReceipt process 
depends on backport 0039929RR19Q1 closed ranjith_qualiantech_com Ticket not synchronized although Web POS Save Removed Tickets preference is enabled 
depends on backport 0039930RR18Q4.2 closed ranjith_qualiantech_com Ticket not synchronized although Web POS Save Removed Tickets preference is enabled 
Issue History
2019-01-11 14:51aferrazNew Issue
2019-01-11 14:51aferrazAssigned To => Retail
2019-01-11 14:51aferrazTriggers an Emergency Pack => No
2019-01-11 14:54aferrazStatusnew => scheduled
2019-01-11 14:59aferrazRelationship addedrelated to 0039932
2019-01-11 15:34azabaletaIssue Monitored: azabaleta
2019-01-11 15:38lmassonIssue Monitored: lmasson
2019-01-22 14:44ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-01-28 12:48hgbotCheckin
2019-01-28 12:48hgbotNote Added: 0109271
2019-01-28 12:48hgbotStatusscheduled => resolved
2019-01-28 12:48hgbotResolutionopen => fixed
2019-01-28 12:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bc7ce5124e28cfe17477568f733e1a1a1520be2d [^]
2019-01-28 12:49hgbotCheckin
2019-01-28 12:49hgbotNote Added: 0109272
2019-02-05 17:22jorge-garciaReview Assigned To => jorge-garcia
2019-02-12 14:51ranjith_qualiantech_comNote Added: 0109727
2019-02-12 14:51ranjith_qualiantech_comStatusresolved => new
2019-02-12 14:51ranjith_qualiantech_comResolutionfixed => open
2019-02-12 14:51ranjith_qualiantech_comStatusnew => scheduled
2019-02-14 14:39hgbotCheckin
2019-02-14 14:39hgbotNote Added: 0109837
2019-02-14 14:39hgbotStatusscheduled => resolved
2019-02-14 14:39hgbotResolutionopen => fixed
2019-02-14 14:39hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bc7ce5124e28cfe17477568f733e1a1a1520be2d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e927a84e8fc3b2a3fe49c08f10f5246c6ce342cc [^]
2019-02-26 17:13jorge-garciaNote Added: 0110089
2019-02-26 17:13jorge-garciaStatusresolved => closed

Notes
(0109271)
hgbot   
2019-01-28 12:48   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: bc7ce5124e28cfe17477568f733e1a1a1520be2d
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jan 28 17:18:29 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/bc7ce5124e28cfe17477568f733e1a1a1520be2d [^]

Fixed issue 39928 : OrderList deleteCurrent should be called when deleting the receipt with zero lines

* If Save Remove Pref. is enabled and receipr has zero lines and empty deletedLines,
  then orderList deleteCurrent should be called which handles receipt save and close functions

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0109272)
hgbot   
2019-01-28 12:49   
Repository: tools/automation/pi-mobile
Changeset: 918237bba90f47743f901ca104d09ce7e9b8ad68
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon Jan 28 17:18:44 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/918237bba90f47743f901ca104d09ce7e9b8ad68 [^]

Verifies issue 39928 : Added Automated Test "I39928_VerifyReceiptWithZeroLines"

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I39928_VerifyReceiptWithZeroLines.java
---
(0109727)
ranjith_qualiantech_com   
2019-02-12 14:51   
Currently if receipt has zero lines, receipt close and save operations handled in 2 different places. One is orderlist deleteCurrent() and second one is deleteReceipt function through toolbar. First one has to be removed and its logic should be merged with second one
(0109837)
hgbot   
2019-02-14 14:39   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e927a84e8fc3b2a3fe49c08f10f5246c6ce342cc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Feb 14 19:08:38 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e927a84e8fc3b2a3fe49c08f10f5246c6ce342cc [^]

Fixed issue 39928 : Refactored Order deleteCurrent function to remove duplicate code for receipt deletion

* If receipt has zero lines, then delete functionality is maintained in 2 places.
  First One in OrderList deleteCurrent function and second one in deleteOrder function
  To Maintain it in seingle place, receipt deletion process in deleteCurrent is removed

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0110089)
jorge-garcia   
2019-02-26 17:13   
Code reviewed and tested