Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035067Retail ModulesWeb POSpublic2017-01-23 14:492017-02-02 11:40
inaki_garcia 
mario_castello 
immediatemajorsometimes
closedfixed 
5
 
RR17Q1RR17Q1 
guilleaer
Packaging and release
2016-12-20
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/365193450d5d [^]
No
0035067: [RR17Q1] Remaining to Pay totals don't update when changing the amounts to layaway in the Pay Open Tickets window
The Remaining to Pay totals don't update upon changes on the layaways amounts to pay. The totals should properly update in order to finish the payment process correctly (custom payment amounts are fully paid).

This issue is reproducible in RR17Q1 and in livebuilds pi. Not reproducible in RR16Q3 and RR16Q4.
0. Log in the Web POS as user "vallblanca"

1. Create more than one Layaway with the following steps
 1.1. Click on the Browse button and select some products (p.e., "Avalanche transceiver" and "Headlamp ultralight")
 1.2. Click on the Total button (should be shown as "169.40")
 1.3. Open the dropdown menu and select the "Layaway this Receipt" option
 1.4. Click on the "Layaway" button to complete the receipt

2. Select "Pay Open Tickets" option from the dropdown menu
 2.1. Click on the search magnifying glass and select all the created layaways
 2.2. Click on "Done".

3. In the Pay Open Tickets window and execute these two steps once or more times:
 3.1. Click on a layaway - Amount to Layaway popup appears
 3.2. Set an amount and click on apply or hit enter

4. Notice that the Remaining to Pay totals don't update as they should
 
(4*. Refreshing the page updates the Remaining to pay totals)

Steps 3 and 4 are depicted in the attached video
No tags attached.
blocks defect 0035034 closed mario_castello [RR17Q1] Remaining to Pay totals don't update when changing the amounts to layaway in the Pay Open Tickets window 
Issue History
2017-01-27 09:42marvintmTypedefect => backport
2017-01-27 09:42marvintmTarget Version => RR17Q1
2017-01-31 15:03hgbotCheckin
2017-01-31 15:03hgbotNote Added: 0093959
2017-01-31 15:03hgbotStatusscheduled => resolved
2017-01-31 15:03hgbotResolutionopen => fixed
2017-01-31 15:03hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87b32534dc99e514717ad17db5e245c4147c6cdd [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/129e08a68992656086ba61dd660df37bc602b32a [^]
2017-02-02 11:40guilleaerReview Assigned To => guilleaer
2017-02-02 11:40guilleaerStatusresolved => closed
2017-02-02 11:40guilleaerFixed in Version => RR17Q1

Notes
(0093959)
hgbot   
2017-01-31 15:03   
Repository: retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal
Changeset: 129e08a68992656086ba61dd660df37bc602b32a
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 24 11:49:49 2017 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/129e08a68992656086ba61dd660df37bc602b32a [^]

Fixed issue 35067, backport of issue 35034: [RR17Q1] Remaining to Pay totals don't update when changing the amounts to layaway in the Pay Open Tickets window

- Added new event amountToLayaway in multiorders to update the total of multiorder
- Call the event amountToLayaway when the user insert new amout in a layaway

---
M web/org.openbravo.retail.posterminal/js/components/modalmultiorderslayaway.js
M web/org.openbravo.retail.posterminal/js/components/order.js
---