Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040222Retail ModulesWeb POSpublic2019-02-05 13:302019-03-04 09:56
marvintm 
javierRodriguez 
normalmajorhave not tried
closedfixed 
5
 
RR19Q1 
jorge-garcia
No
0040222: The prepayment limit check is not correctly done in Pay Open Tickets for layaways
In Pay Open Tickets there is the possibility to specify an amount to layaway for existing layaways, by clicking the corresponding layaway row and specifying an amount.

However, in this case the layaway limit should apply for the prepayment, and the normal receipt limit is applied instead.
- Create a layaway for total 150 and sync it to the backoffice.
- In Pay Open Tickets, select the layaway.
- Click on the layaway, and specify 20.
- Do a payment for 20 and try to complete the layaway. Notice that the approval for the normal receipt payment limit appears. This is not correct
No tags attached.
blocks defect 0040146 closed javierRodriguez The prepayment limit check is not correctly done in Pay Open Tickets for layaways 
Issue History
2019-02-15 12:47marvintmTypedefect => backport
2019-02-15 12:47marvintmTarget Version => RR19Q1
2019-02-15 13:22hgbotCheckin
2019-02-15 13:22hgbotNote Added: 0109870
2019-02-15 13:22hgbotStatusscheduled => resolved
2019-02-15 13:22hgbotResolutionopen => fixed
2019-02-15 13:22hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4ce8ab366da80194279cb6987ade651b3334fd7a [^] => http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/15f064faac6c768f64d3cf2254e0e7bdd3d541fd [^]
2019-03-04 09:56jorge-garciaReview Assigned To => jorge-garcia
2019-03-04 09:56jorge-garciaNote Added: 0110175
2019-03-04 09:56jorge-garciaStatusresolved => closed

Notes
(0109870)
hgbot   
2019-02-15 13:22   
Repository: retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal
Changeset: 15f064faac6c768f64d3cf2254e0e7bdd3d541fd
Author: Javier Rodriguez <javier.rodriguez <at> openbravo.com>
Date: Fri Feb 15 13:12:18 2019 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1/org.openbravo.retail.posterminal/rev/15f064faac6c768f64d3cf2254e0e7bdd3d541fd [^]

Fixed issue 40222: The prepayment limit check is not correctly done in Pay Open Tickets for layaways

Layaway orders must count their prepayment limit for layaways when checking the prepayment limit in Pay Open Tickets.

---
M web/org.openbravo.retail.posterminal/js/components/order.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js
---
(0110175)
jorge-garcia   
2019-03-04 09:56   
Code reviewed and tested