Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031137Retail ModulesWeb POSpublic2015-10-13 15:432015-10-22 16:55
aaroncalero 
Retail 
highmajoralways
closedfixed 
5
pi 
RR16Q1 
Orekaria
Coding ( Testing )
RR14Q4
No
0031137: The payment plan is not correct for tickets created with a change amount
When a ticket is created in web pos and it is needed to give change to the customer, the payment plan is incorrectly created in backend.
Login in web pos and create a ticket.
Add a product.
Tap on the total button to pay a ticket.
Add enough cash to generate change for the customer (the "xx.xx€ change." message will be shown).
Complete the ticket.
Verify the payment plan created in backend:
The received amount shown on both the plan and the details shows the total amount paid, which is wrong.
The cashup details are also wrong, as the total amount paid is added to the total sales field.
No tags attached.
depends on backport 0031138RR15Q4 closed marvintm The payment plan is not correct for tickets created with a change amount 
Issue History
2015-10-13 15:43aaroncaleroNew Issue
2015-10-13 15:43aaroncaleroAssigned To => Retail
2015-10-13 15:43aaroncaleroResolution time => 1445292000
2015-10-13 15:43aaroncaleroRegression level => Coding ( Testing )
2015-10-13 15:43aaroncaleroRegression introduced in release => pi
2015-10-13 15:43aaroncaleroTriggers an Emergency Pack => No
2015-10-13 15:45OrekariaRegression introduced in releasepi => RR14Q4
2015-10-13 16:00OrekariaStatusnew => scheduled
2015-10-13 16:01OrekariaStatusscheduled => acknowledged
2015-10-21 19:42hgbotCheckin
2015-10-21 19:42hgbotNote Added: 0081181
2015-10-21 19:42hgbotStatusacknowledged => resolved
2015-10-21 19:42hgbotResolutionopen => fixed
2015-10-21 19:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecee7e9e60422cad7386b819160fa9303ef9b3a0 [^]
2015-10-22 16:52OrekariaReview Assigned To => Orekaria
2015-10-22 16:52hgbotCheckin
2015-10-22 16:52hgbotNote Added: 0081229
2015-10-22 16:55OrekariaStatusresolved => closed
2015-10-22 16:55OrekariaFixed in Version => RR16Q1

Notes
(0081181)
hgbot   
2015-10-21 19:42   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ecee7e9e60422cad7386b819160fa9303ef9b3a0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Oct 21 15:02:43 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecee7e9e60422cad7386b819160fa9303ef9b3a0 [^]

Fixed issue 31137. Now the payment information will be generated correctly.

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0081229)
hgbot   
2015-10-22 16:52   
Repository: tools/automation/pi-mobile
Changeset: 8efbd480556113bdcd10a21b26447b692c4c1ad5
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Oct 13 15:53:28 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8efbd480556113bdcd10a21b26447b692c4c1ad5 [^]

Verifies issue 31137: Add automated tests

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I31137_Sale.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I31137_SaleWithOverpayment.java
---