Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042158Retail ModulesWeb POSpublic2019-10-31 02:562019-11-14 18:01
jorgewederago 
adrianromero 
highmajoralways
closedfixed 
5
 
RR20Q1 
marvintm
No
0042158: When paying a refund using Group Providers if there is not enough cash to pay it you are not allowed to finish the transaction
When using Group Providers during a refund, even if they are not cash type if there is not enough cash to do the refund you are not allowed 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

WebPOS:
*Open the terminal
*Add a product as refund
*Select the Group Provider as payment

If there is not enough cash to do the refund you will not be allowed to do the refund using the provider.
When the method 'checkEnoughCashAvailable: function (paymentstatus, selectedPayment, scope, button, callback) {'

is called the selected payment is cash and thus all the logic is applied to cash. This should be updated to use the correct one or a new flag should be used to avoid this behaviour.

Check attached export file.
No tags attached.
? issue42158.export (1,697) 2019-11-04 13:41
https://issues.openbravo.com/file_download.php?file_id=13480&type=bug
Issue History
2019-10-31 02:56jorgewederagoNew Issue
2019-10-31 02:56jorgewederagoAssigned To => Retail
2019-10-31 02:56jorgewederagoResolution time => 1574290800
2019-10-31 02:56jorgewederagoTriggers an Emergency Pack => No
2019-10-31 10:02jorgewederagoProposed Solution updated
2019-10-31 15:19ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-11-04 12:11adrianromeroAssigned Toranjith_qualiantech_com => adrianromero
2019-11-04 12:11adrianromeroStatusnew => acknowledged
2019-11-04 12:11adrianromeroStatusacknowledged => scheduled
2019-11-04 13:41adrianromeroFile Added: issue42158.export
2019-11-04 13:42adrianromeroProposed Solution updated
2019-11-05 10:46hgbotCheckin
2019-11-05 10:46hgbotNote Added: 0115409
2019-11-05 10:46hgbotStatusscheduled => resolved
2019-11-05 10:46hgbotResolutionopen => fixed
2019-11-05 10:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e80093310b0ea119899a37a300b5a2e181bf8dc7 [^]
2019-11-14 18:01marvintmReview Assigned To => marvintm
2019-11-14 18:01marvintmStatusresolved => closed
2019-11-14 18:01marvintmFixed in Version => RR20Q1

Notes
(0115409)
hgbot   
2019-11-05 10:46   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e80093310b0ea119899a37a300b5a2e181bf8dc7
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Mon Nov 04 13:38:56 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e80093310b0ea119899a37a300b5a2e181bf8dc7 [^]

Fixes issue 0042158: When paying a refund using Group Providers if there is not enough cash to pay it you are not allowed to finish the transaction
* For payment validations, if payment group is selected use the first payment of the group

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---