Openbravo Issue Tracking System - Retail Modules
View Issue Details
0029870Retail ModulesLayaway orderpublic2015-05-13 16:562015-12-04 11:44
sureshbabu 
mario_castello 
normalminoralways
closedfixed 
5
 
RR16Q1 
guilleaer
No
0029870: when layaway order is overpaid using card, then layaway button wrongly appears in the screen
when layaway order is overpaid using card, then layaway button wrongly appears in the screen
1) Create a layaway order for 449.50 euros and click "Layaway" button
2) Then reopen the above created layaway order and
try to overpay the layaway order by 500 euros using card payment method.

3) Check the buttons at the right hand side of the web pos screen

Expected result: Layaway button should disappear from the screen.

Actual result: "Layaway" button appears along with "Done" button
No tags attached.
depends on design defect 0031222 closed Orekaria The process buttons should be normalized 
related to defect 0031545 closed mario_castello updateCreditSalesAction() should be used to update the visibility of the 'Use credit' button 
png layaway button wrongly appears when a layaway order is overpaid.png (210,407) 2015-05-13 16:56
https://issues.openbravo.com/file_download.php?file_id=8080&type=bug
png
Issue History
2015-05-13 16:56sureshbabuNew Issue
2015-05-13 16:56sureshbabuAssigned To => marvintm
2015-05-13 16:56sureshbabuFile Added: layaway button wrongly appears when a layaway order is overpaid.png
2015-05-13 16:56sureshbabuTriggers an Emergency Pack => No
2015-09-09 14:15sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9409#r9409
2015-11-20 14:06lorenzofidalgoNote Added: 0082027
2015-11-20 19:07OrekariaAssigned Tomarvintm => Retail
2015-11-20 19:13hgbotCheckin
2015-11-20 19:13hgbotNote Added: 0082035
2015-11-23 15:37OrekariaRelationship addedrelated to 0031545
2015-11-23 15:38OrekariaRelationship addeddepends on 0031222
2015-11-23 16:08mario_castelloAssigned ToRetail => mario_castello
2015-11-24 15:05hgbotCheckin
2015-11-24 15:05hgbotNote Added: 0082290
2015-11-24 15:05hgbotStatusnew => resolved
2015-11-24 15:05hgbotResolutionopen => fixed
2015-11-24 15:05hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/941e27b3bcd91db445e789e170c980231a0cd2d2 [^]
2015-12-04 11:44guilleaerReview Assigned To => guilleaer
2015-12-04 11:44guilleaerStatusresolved => closed
2015-12-04 11:44guilleaerFixed in Version => RR16Q1

Notes
(0082027)
lorenzofidalgo   
2015-11-20 14:06   
This is also reproducible clicking in total amount button, Card button, and paying with exact amount. I have just reproduced this issue in RR15Q4.
(0082035)
hgbot   
2015-11-20 19:13   
Repository: tools/automation/pi-mobile
Changeset: 14afa72f88b13663f8b44f70d6e858f45f3cd092
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Fri Nov 20 19:12:38 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/14afa72f88b13663f8b44f70d6e858f45f3cd092 [^]

Related to issue 29870: Added the 'I29870_LayawayButtonWhenOverpaid' test to verify the visibility of the layaway button with overpayment

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/layaway/I29870_LayawayButtonWhenOverpaid.java
---
(0082290)
hgbot   
2015-11-24 15:05   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 941e27b3bcd91db445e789e170c980231a0cd2d2
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Nov 24 08:04:47 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/941e27b3bcd91db445e789e170c980231a0cd2d2 [^]

Fixed issue 29870: Delete additional updateVisibility of layaway button

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---