Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042240Retail ModulesWeb POSpublic2019-11-11 03:182020-01-11 20:49
jorgewederago 
alekosmp86 
highmajoralways
closedfixed 
5
 
RR20Q1 
guilleaer
No
0042240: Under certain circumstances when using Group Provider a message saying that there is overpayment will be raised
When using group payment providers if there is an overpayment configured for them and the ticket is paid using more than one payment method it is not possible to finish the transaction.
Go to livebuilds
Backend:
*Open the Channel Touchpoint VBS-1 and in the Payment Methods Type chose Credit Card
*Navigate to the Payment Method Window and configure it to use Provider Group Credit Card and select as type MasterCard
*Configure the payment method to do not allow over payment filling the Overpayment/ Change limit to 0

WebPOS:
*Open the terminal
*Add a product and change the price to 0.3
*Add 0.2 using cash
*Add 0.1 using the group provider payment method
*A message saying that there is an overpayment will be raised
No tags attached.
diff backport42240.diff (1,323) 2019-11-27 04:25
https://issues.openbravo.com/file_download.php?file_id=13596&type=bug
Issue History
2019-11-11 03:18jorgewederagoNew Issue
2019-11-11 03:18jorgewederagoAssigned To => Retail
2019-11-11 03:18jorgewederagoResolution time => 1575241200
2019-11-11 03:18jorgewederagoTriggers an Emergency Pack => No
2019-11-13 21:52alekosmp86Assigned ToRetail => alekosmp86
2019-11-13 21:53alekosmp86Statusnew => scheduled
2019-11-18 15:02hgbotCheckin
2019-11-18 15:02hgbotNote Added: 0115662
2019-11-18 15:02hgbotStatusscheduled => resolved
2019-11-18 15:02hgbotResolutionopen => fixed
2019-11-18 15:02hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d41da1a2336c7d55200b7148f102e096952f85f8 [^]
2019-11-27 04:25jorgewederagoFile Added: backport42240.diff
2019-11-27 04:26jorgewederagoNote Added: 0115854
2019-11-29 13:30guilleaerReview Assigned To => guilleaer
2019-11-29 13:30guilleaerStatusresolved => closed
2019-11-29 13:30guilleaerFixed in Version => RR20Q1
2020-01-11 20:49eugeniIssue Monitored: eugeni

Notes
(0115662)
hgbot   
2019-11-18 15:02   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d41da1a2336c7d55200b7148f102e096952f85f8
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Sun Nov 17 13:35:46 2019 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d41da1a2336c7d55200b7148f102e096952f85f8 [^]

Fixed issue 42240: Fixed overpayment calculation. Used OB.BIGDEC.sub() in
order to avoid problems with decimals

---
M web/org.openbravo.retail.posterminal/js/components/modalprovidergroup.js
---
(0115854)
jorgewederago   
2019-11-27 04:26   
Adding backport for previous versions since the API used in the solution does not exists in older versions.