Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034799Retail ModulesWeb POSpublic2016-12-21 13:252016-12-27 13:59
jorge-garcia 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR17Q1 
guilleaer
Automated tests
2016-10-19
pi
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3eb9492cdf2deda1a59ee7319bfd839af2761a4b [^]
No
0034799: Layaway button status is not right with Reverse Payments
Layaway button status is not right with Reverse Payments
Two ways to reproduce this issue:
1) Execute test NoCashWhenReverse locally and check the error in test3.
2) Manually
  2.1) Login in the WebPOS
  2.2) Do a clean cashup keeping nothing
  2.3) Create a new layaway and a one product of Avalanche Transceiver.
  2.4) Tap on pay button and add a payment of 50€
  2.5) Click on Reverse Payment button (arrow next to the payment of 50 in cash).
  2.6) In the popup, click on OK button
  2.7) At the end, even if you don't have enough cash to pay that reversed payment, the button of Layaway is enable but should be disable.
No tags attached.
caused by defect 0034185 closed ranjith_qualiantech_com When saving a not paid layaway, if the preOrderSave hook ends with the cancellation flag, the Layaway button disappears. 
Issue History
2016-12-21 13:25jorge-garciaNew Issue
2016-12-21 13:25jorge-garciaAssigned To => ranjith_qualiantech_com
2016-12-21 13:25jorge-garciaRegression level => Automated tests
2016-12-21 13:25jorge-garciaRegression date => 2016-10-19
2016-12-21 13:25jorge-garciaRegression introduced in release => pi
2016-12-21 13:25jorge-garciaRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3eb9492cdf2deda1a59ee7319bfd839af2761a4b [^]
2016-12-21 13:25jorge-garciaTriggers an Emergency Pack => No
2016-12-21 13:25jorge-garciaRelationship addedcaused by 0034185
2016-12-21 15:03ranjith_qualiantech_comStatusnew => scheduled
2016-12-22 09:35hgbotCheckin
2016-12-22 09:35hgbotNote Added: 0092933
2016-12-22 09:35hgbotStatusscheduled => resolved
2016-12-22 09:35hgbotResolutionopen => fixed
2016-12-22 09:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/76557a96658f6fae61728ea5c213b9d11a4ba06f [^]
2016-12-27 13:59guilleaerReview Assigned To => guilleaer
2016-12-27 13:59guilleaerStatusresolved => closed
2016-12-27 13:59guilleaerFixed in Version => RR17Q1

Notes
(0092933)
hgbot   
2016-12-22 09:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 76557a96658f6fae61728ea5c213b9d11a4ba06f
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Dec 22 11:20:01 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/76557a96658f6fae61728ea5c213b9d11a4ba06f [^]

Fixes issue 34799 : Enable/Disable Layaway Button on Payment Done/Cancel

* After clicking Layaway Button, if receipt is not closed then Layaway button should be displayed

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