Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035034Retail ModulesWeb POSpublic2017-01-23 14:492017-01-31 15:03
inaki_garcia 
mario_castello 
immediatemajorsometimes
closedfixed 
5
 
RR17Q2 
marvintm
Packaging and release
2016-12-20
main
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/365193450d5d [^]
No
0035034: [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.
depends on backport 0035067RR17Q1 closed mario_castello [RR17Q1] Remaining to Pay totals don't update when changing the amounts to layaway in the Pay Open Tickets window 
caused by defect 0034292 closed jorge-garcia [BUT Issues: 1861] Pay Open Tickets is slow and UI stalls 
related to defect 0035355 closed ranjith_qualiantech_com Remaining to Pay total doesn't update when reverting the amount to layaway in the Pay Open Tickets window 
mov payopenticketstotalsbug.mov (612,621) 2017-01-23 14:49
https://issues.openbravo.com/file_download.php?file_id=10338&type=bug
Issue History
2017-01-23 14:49inaki_garciaNew Issue
2017-01-23 14:49inaki_garciaAssigned To => Retail
2017-01-23 14:49inaki_garciaFile Added: payopenticketstotalsbug.mov
2017-01-23 14:49inaki_garciaRegression level => Packaging and release
2017-01-23 14:49inaki_garciaRegression introduced in release => main
2017-01-23 14:49inaki_garciaTriggers an Emergency Pack => No
2017-01-23 15:21inaki_garciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14340#r14340
2017-01-24 16:39mario_castelloAssigned ToRetail => mario_castello
2017-01-24 16:39mario_castelloStatusnew => acknowledged
2017-01-24 16:39mario_castelloStatusacknowledged => scheduled
2017-01-24 18:35mario_castelloRegression date => 2016-12-20
2017-01-24 18:35mario_castelloRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/365193450d5d [^]
2017-01-25 15:14hgbotCheckin
2017-01-25 15:14hgbotNote Added: 0093818
2017-01-25 15:14hgbotStatusscheduled => resolved
2017-01-25 15:14hgbotResolutionopen => fixed
2017-01-25 15:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87b32534dc99e514717ad17db5e245c4147c6cdd [^]
2017-01-25 15:15mario_castelloRelationship addedrelated to 0034292
2017-01-25 15:17mario_castelloNote Edited: 0093818bug_revision_view_page.php?bugnote_id=0093818#r14350
2017-01-25 15:22hgbotCheckin
2017-01-25 15:22hgbotNote Added: 0093819
2017-01-25 16:54mario_castelloRelationship deletedrelated to 0034292
2017-01-25 16:55mario_castelloRelationship addedcaused by 0034292
2017-01-27 09:42marvintmStatusresolved => new
2017-01-27 09:42marvintmResolutionfixed => open
2017-01-27 09:42marvintmStatusnew => scheduled
2017-01-27 09:42marvintmStatusscheduled => resolved
2017-01-27 09:42marvintmFixed in Version => RR17Q2
2017-01-27 09:42marvintmResolutionopen => fixed
2017-01-27 09:42marvintmReview Assigned To => marvintm
2017-01-27 09:42marvintmStatusresolved => closed
2017-01-31 15:03hgbotCheckin
2017-01-31 15:03hgbotNote Added: 0093958
2017-02-24 09:29aaroncaleroRelationship addedrelated to 0035355

Notes
(0093818)
hgbot   
2017-01-25 15:14   
(edited on: 2017-01-25 15:17)
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 87b32534dc99e514717ad17db5e245c4147c6cdd
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 24 11:49:49 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/87b32534dc99e514717ad17db5e245c4147c6cdd [^]

Fixed issue 0035034: [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 to update the total of multiorders

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

(0093819)
hgbot   
2017-01-25 15:22   
Repository: tools/automation/pi-mobile
Changeset: c2cb797d41a4bd2fd99ea7d794aafee691d78f73
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 24 14:31:34 2017 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c2cb797d41a4bd2fd99ea7d794aafee691d78f73 [^]

Related to issue 35034: Added automated test I35034_LayawayPayOpenTicketSetAmount

- Added new properties in TestIdPack class

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I35034_LayawayPayOpenTicketSetAmount.java
---
(0093958)
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
---