Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041432Retail ModulesWeb POSpublic2019-07-23 13:062019-08-08 09:18
Asantos9 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
Pre packaging ( pi )
2019-06-11
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c2cc75fab82afdb1d800eb4266a8f0479e75fdd [^]
No
0041432: The cashup is not calculated correctly using cancel and replace in Web POS
When it is used cancel and replace functionality in Web POS, the amount of the payment methods related to the current cashup are not calculated correctly.
1. Log into Web POS
2. Create a ticket and pay with Cash
3. Do Cashup
3. Add Cash 100 through Cash Management
2. Navigate to the cashup and check the current amount of cash
4. Click on Menu and press Open Receipt
5. Search for the ticket(which is created in Step 2) and open it
6. Click on Menu and press Cancel And Replace option
7. Complete the Cr without doing any changes
8. Navigate to the cashup

Note that the amount of cash is subtracted 10€. This is not correct because the sum of the cancelled receipt and the replacement receipt is 0€.
No tags attached.
related to defect 0040978 closed ranjith_qualiantech_com Wrong Net Sales and Gross Sales values in Cashup History Report for Cancel and Replace 
depends on backport 0041545RR19Q3 closed ranjith_qualiantech_com The cashup is not calculated correctly using cancel and replace in Web POS 
patch issue 41432 source posterminal.patch (2,447) 2019-08-06 08:03
https://issues.openbravo.com/file_download.php?file_id=13212&type=bug
Issue History
2019-07-23 13:06Asantos9New Issue
2019-07-23 13:06Asantos9Assigned To => Retail
2019-07-23 13:06Asantos9Regression level => Pre packaging ( pi )
2019-07-23 13:06Asantos9Regression date => 2019-06-11
2019-07-23 13:06Asantos9Regression introduced in release => main
2019-07-23 13:06Asantos9Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c2cc75fab82afdb1d800eb4266a8f0479e75fdd [^]
2019-07-23 13:06Asantos9Triggers an Emergency Pack => No
2019-07-23 13:18guilleaerResolution time => 1564092000
2019-07-24 13:53ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-07-24 14:52ranjith_qualiantech_comStatusnew => scheduled
2019-07-24 17:23Asantos9Steps to Reproduce Updatedbug_revision_view_page.php?rev_id=19195#r19195
2019-08-05 09:36ranjith_qualiantech_comRelationship addedrelated to 0040978
2019-08-05 11:51marvintmStatusscheduled => acknowledged
2019-08-05 11:51marvintmStatusacknowledged => scheduled
2019-08-05 12:06ranjith_qualiantech_comSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=19257#r19257
2019-08-06 08:03ranjith_qualiantech_comFile Added: issue 41432 source posterminal.patch
2019-08-06 14:55ranjith_qualiantech_comRelationship addedrelated to 0040868
2019-08-06 15:00ranjith_qualiantech_comRelationship deletedrelated to 0040868
2019-08-08 04:31hgbotCheckin
2019-08-08 04:31hgbotNote Added: 0113885
2019-08-08 04:31hgbotStatusscheduled => resolved
2019-08-08 04:31hgbotResolutionopen => fixed
2019-08-08 04:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fd79ca0c7e6c0f70e3adc0aa8bee3281925367a9 [^]
2019-08-08 04:31hgbotCheckin
2019-08-08 04:31hgbotNote Added: 0113886
2019-08-08 09:18marvintmReview Assigned To => marvintm
2019-08-08 09:18marvintmStatusresolved => closed
2019-08-08 09:18marvintmFixed in Version => RR19Q4

Notes
(0113885)
hgbot   
2019-08-08 04:31   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fd79ca0c7e6c0f70e3adc0aa8bee3281925367a9
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Aug 08 08:00:53 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fd79ca0c7e6c0f70e3adc0aa8bee3281925367a9 [^]

Fixed issue 41432 : Cashup data should be updated when doing Cancal And Replace

* When doing CR, oldLines should not be updated in returns and
  newLine should be updated in sales

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0113886)
hgbot   
2019-08-08 04:31   
Repository: tools/automation/pi-mobile
Changeset: d0da1f24c7ff729e409cc2f9bf1b16e816f6cab2
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Aug 08 08:01:09 2019 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d0da1f24c7ff729e409cc2f9bf1b16e816f6cab2 [^]

Verifies issue 41432 : Added automated test 'I40978_VerifyCashupDataWithCR'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cancelandreplace/I40978_VerifyCashupDataWithCR.java
---