Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036308Retail ModulesWeb POSpublic2017-06-22 11:592017-09-21 16:49
naiaramartinez 
prakashmurugesan88 
normalmajorhave not tried
closedfixed 
5
 
RR17Q4 
guilleaer
No
0036308: [SERQA 3037] Replacement order is duplicating the amount paid in the ticket
When creating a cancel&Replace layaways, the amount paid is duplicated in each replacement order.
*Login into WebPOS
*Create a layaway with a product and pay partially (for example 0.20€)
*Click in Search Receipt and get the newly created layaway
*Click in Cancel&Replace and add a new product (Do not add new payment). Complete the layaway
*Click in Search Receipt and get the newly created layaway
*Click in Cancel&Replace and add a new product (Do not add new payment).
*Click in the total amount of the order. Notice that in payments done it says that 0.40 is paid (the payment that we did at the beginning is 0.20 and not 0.40)
No tags attached.
Issue History
2017-06-22 11:59naiaramartinezNew Issue
2017-06-22 11:59naiaramartinezAssigned To => marvintm
2017-06-22 11:59naiaramartinezResolution time => 1498687200
2017-06-22 11:59naiaramartinezTriggers an Emergency Pack => No
2017-06-26 09:21marvintmAssigned Tomarvintm => Retail
2017-06-26 13:52marvintmSeveritytrivial => major
2017-06-26 13:55asiermartirenaAssigned ToRetail => prakashmurugesan88
2017-07-05 09:00prakashmurugesan88Statusnew => scheduled
2017-07-05 15:56hgbotCheckin
2017-07-05 15:56hgbotNote Added: 0097874
2017-07-05 15:56hgbotStatusscheduled => resolved
2017-07-05 15:56hgbotResolutionopen => fixed
2017-07-05 15:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b06cf6616ecc6ea7f21b1d7a378480e4d8175f71 [^]
2017-07-05 15:57hgbotCheckin
2017-07-05 15:57hgbotNote Added: 0097875
2017-07-07 11:01marvintmNote Added: 0097938
2017-07-07 11:01marvintmStatusresolved => new
2017-07-07 11:01marvintmResolutionfixed => open
2017-07-11 10:33hgbotCheckin
2017-07-11 10:33hgbotNote Added: 0098011
2017-07-11 10:33hgbotStatusnew => resolved
2017-07-11 10:33hgbotResolutionopen => fixed
2017-07-11 10:33hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/b06cf6616ecc6ea7f21b1d7a378480e4d8175f71 [^] => http://code.openbravo.com/erp/devel/pi/rev/774cff79b78dce959e5143fc8e9ac47afd0e267c [^]
2017-07-16 10:22guilleaerReview Assigned To => guilleaer
2017-07-16 10:22guilleaerStatusresolved => closed
2017-07-16 10:22guilleaerFixed in Version => RR17Q4
2017-09-21 16:49hudsonbotCheckin
2017-09-21 16:49hudsonbotNote Added: 0099235
2017-09-21 16:49hudsonbotCheckin
2017-09-21 16:49hudsonbotNote Added: 0099266

Notes
(0097874)
hgbot   
2017-07-05 15:56   
Repository: erp/devel/pi
Changeset: b06cf6616ecc6ea7f21b1d7a378480e4d8175f71
Author: Prakash M <prakash <at> qualiantech.com>
Date: Wed Jul 05 18:57:28 2017 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b06cf6616ecc6ea7f21b1d7a378480e4d8175f71 [^]

Fixed Issue 36308: Wrong Payment Schedule Details Amount in cancel and replace

---
M src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
---
(0097875)
hgbot   
2017-07-05 15:57   
Repository: tools/automation/pi-mobile
Changeset: 3e903582facb36679a8468ac85eb5fe44ae5fd47
Author: Prakash M <prakash <at> qualiantech.com>
Date: Wed Jul 05 19:25:40 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3e903582facb36679a8468ac85eb5fe44ae5fd47 [^]

Verifies issue 36308 : Added Automated Test I36308_CancelAndRplcLayawayIII

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/terminals/WebPOSCancelAndReplaceTerminalHelper.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I36308_CancelAndRplcLayawayIII.java
---
(0097938)
marvintm   
2017-07-07 11:01   
The change seems to work correctly, but the code currently is reusing a list which comes from a OBDal query, which is quite strange.

I propose to change it to have separate lists, as I don't really know the consequences of modifying a list generated by a Hibernate query.
(0098011)
hgbot   
2017-07-11 10:33   
Repository: erp/devel/pi
Changeset: 774cff79b78dce959e5143fc8e9ac47afd0e267c
Author: Prakash M <prakash <at> qualiantech.com>
Date: Tue Jul 11 10:46:15 2017 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/774cff79b78dce959e5143fc8e9ac47afd0e267c [^]

Fixed Issue 36308: Used separate list for cancel and replace payment schedule detail

---
M src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
---
(0099235)
hudsonbot   
2017-09-21 16:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9750b78d3e5c [^]
Maturity status: Test
(0099266)
hudsonbot   
2017-09-21 16:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9750b78d3e5c [^]
Maturity status: Test