Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031146Retail ModulesCash uppublic2015-10-13 19:212016-03-08 13:40
malsasua 
mario_castello 
normalmajorsometimes
closedfixed 
20Community Appliance
RR15Q2.5 
RR16Q1 
Orekaria
No
0031146: transactions are not included in cashup reconciliation when the sync of receipt is before that the sync of cashup
. when receipt is related with a cashup, but the sync of cashup is done after that the sync of the receipt, the receipt transaction is not related to the cashup, and it is not reconciled in the cashup process
. in web pos:
 . do a cash up
  . in the last step, click in "Post, Print & close", but you dont click in button "ok" of popup "good job"
  . close the window
(the sync of the new cashup is not done)

 . open browser and the same terminal
  . do and pay a receipt
-> SOMETIMES, the sync of receipt is done before than the sync of cashup

in this cases, in this line:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/2a08adb56512/src/org/openbravo/retail/posterminal/OrderLoader.java#l1702 [^]

the cashup is null, so, the transaction is not related to the cashup, and the trx is not reconciled when the cashup is done
The test is failing quite consistently when activated. Activate the test to reproduce the issue
No tags attached.
diff 31146_q25.diff (2,151) 2016-03-08 13:40
https://issues.openbravo.com/file_download.php?file_id=9142&type=bug
Issue History
2015-10-13 19:21malsasuaNew Issue
2015-10-13 19:21malsasuaAssigned To => Retail
2015-10-13 19:21malsasuaResolution time => 1447455600
2015-10-13 19:21malsasuaTriggers an Emergency Pack => No
2015-10-19 10:21OrekariaStatusnew => acknowledged
2015-11-03 17:20mario_castelloAssigned ToRetail => mario_castello
2015-11-06 14:31hgbotCheckin
2015-11-06 14:31hgbotNote Added: 0081572
2015-11-10 09:59OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10118#r10118
2015-11-10 09:59OrekariaProposed Solution updated
2015-11-20 17:54OrekariaStatusacknowledged => scheduled
2015-11-26 19:32hgbotCheckin
2015-11-26 19:32hgbotNote Added: 0082387
2015-12-12 18:26eugeniIssue Monitored: eugeni
2015-12-14 19:23hgbotCheckin
2015-12-14 19:23hgbotNote Added: 0082737
2015-12-14 19:23hgbotStatusscheduled => resolved
2015-12-14 19:23hgbotResolutionopen => fixed
2015-12-14 19:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/61e290b944b80cc9bd65acb9e25b6d376311de9f [^]
2015-12-14 19:24hgbotCheckin
2015-12-14 19:24hgbotNote Added: 0082738
2015-12-15 16:39OrekariaReview Assigned To => guilleaer
2015-12-28 19:45OrekariaReview Assigned Toguilleaer => Orekaria
2015-12-28 19:45OrekariaStatusresolved => closed
2015-12-28 19:45OrekariaFixed in Version => RR16Q1
2016-03-08 13:40guilleaerFile Added: 31146_q25.diff

Notes
(0081572)
hgbot   
2015-11-06 14:31   
Repository: tools/automation/pi-mobile
Changeset: ffab79e003316b1af0f2028472615c2e561f54e2
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Nov 06 07:29:27 2015 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ffab79e003316b1af0f2028472615c2e561f54e2 [^]

Related to issue 31146: Automation test

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I31146_CashupCloseWindowsAndPay.java
---
(0082387)
hgbot   
2015-11-26 19:32   
Repository: tools/automation/pi-mobile
Changeset: b3a9e1c242860813fb90d4ec2d8831c96f49904d
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Nov 26 12:31:59 2015 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b3a9e1c242860813fb90d4ec2d8831c96f49904d [^]

Related to issue 31146: Fixed automated test I31146_CashupCloseWindowsAndPay

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I31146_CashupCloseWindowsAndPay.java
---
(0082737)
hgbot   
2015-12-14 19:23   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 61e290b944b80cc9bd65acb9e25b6d376311de9f
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon Dec 14 12:20:55 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/61e290b944b80cc9bd65acb9e25b6d376311de9f [^]

Fixed issue 31146: Added sync to new cashup

---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
---
(0082738)
hgbot   
2015-12-14 19:24   
Repository: tools/automation/pi-mobile
Changeset: 7d859934b3a9afd3a3334da9d5a6ab511e82816c
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon Dec 14 12:23:49 2015 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7d859934b3a9afd3a3334da9d5a6ab511e82816c [^]

Related to issue 31146: Fixed test I31146_CashupCloseWindowsAndPay

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I31146_CashupCloseWindowsAndPay.java
---