Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044758Retail ModulesWeb POSpublic2020-08-05 15:302020-08-17 07:13
maite 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q4 
No
0044758: Wrong ticket sequence number under some circumstances: layaway + turnEditable + F5
In case an editable layaway is loaded in another terminal to be paid and then the terminal is refreshed, the ticket sequence number of the terminal will be overwritten by layaway's sequence
1. Log in to VBS-1 terminal
  1.1. Create 5 different tickets, to ensure that sequence number is increased to a higher number
  1.2. Create a layaway
2. Log in to VBS1001 terminal
  2.1. Create 1 ticket to know in what number of the sequence you are
  2.2. Run Open Receipt option and select layaway created in the other terminal
  2.3. Press F12 to open developers tool, go to console and execute: OB.MobileApp.model.receipt.turnEditable();
  2.4. Pay the layaway and it will be synchronized
  2.5. press F5
  2.6. create another ticket and verify that assigned number is not the one you were but the next one of layaway's sequence number
No tags attached.
Issue History
2020-08-05 15:30maiteNew Issue
2020-08-05 15:30maiteAssigned To => Retail
2020-08-05 15:30maiteResolution time => 1597788000
2020-08-05 15:30maiteTriggers an Emergency Pack => No
2020-08-05 15:30maiteIssue Monitored: networkb
2020-08-05 15:32maiteSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21451#r21451
2020-08-10 11:38ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-08-10 11:38ranjith_qualiantech_comStatusnew => scheduled
2020-08-12 10:49LeyreIssue Monitored: Leyre
2020-08-12 15:12hgbotNote Added: 0122014
2020-08-17 07:13hgbotResolutionopen => fixed
2020-08-17 07:13hgbotStatusscheduled => closed
2020-08-17 07:13hgbotNote Added: 0122082
2020-08-17 07:13hgbotFixed in Version => RR20Q4
2020-08-17 07:13hgbotNote Added: 0122083

Notes
(0122014)
hgbot   
2020-08-12 15:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/59 [^]
(0122082)
hgbot   
2020-08-17 07:13   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/59 [^]
(0122083)
hgbot   
2020-08-17 07:13   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 512db19a0277a3aac081a65048b5a10fc85c771c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-08-17T05:13:31+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/512db19a0277a3aac081a65048b5a10fc85c771c [^]

Fixed ISSUE-44758: Terminal Seq should not be updated when modifying old ticket

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