Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0046855 | Retail Modules | Cash up | public | 2021-05-19 17:10 | 2021-05-27 16:30 | |||||||
Reporter | malsasua | |||||||||||
Assigned To | rqueralta | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR21Q1.2 | Fixed in Version | RR21Q1.2 | |||||||||
Merge Request Status | approved | |||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | Gold | |||||||||||
Support ticket | 23944 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0046855: Wrong starting amount in cashup when there is only one payment method | |||||||||||
Description | When there is only one payment method defined in the terminal, the starting amount cashup is retrieved from financial account current balance instead of amount to keep of previous cashup | |||||||||||
Steps To Reproduce | [BO] . go to touchpoint - VBS-1 - tab: payment method - deactivate all payment methods except cash . go to financial account of payment method cash: - create a new transaction (for example, amount 5) and process: financial account current balance: 5 [POS] . do login . do cashup: - amount to keep 0 . do cashup - starting amount: 5 | |||||||||||
Proposed Solution | the problem is in this line: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/web/org.openbravo.retail.posterminal/app/model/business-object/cashup/PaymentMethodUtils.js#L27 [^] if lastCashUpPayments.length is 1, then the condition is not satisfied, and the startingCash is not overwritten | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2021-05-27 08:29 | marvintm | Type | defect => backport | |||||||||
2021-05-27 08:29 | marvintm | Target Version | => RR21Q1.3 | |||||||||
2021-05-27 08:54 | marvintm | Target Version | RR21Q1.3 => RR21Q1.2 | |||||||||
2021-05-27 15:03 | priyam | Issue Monitored: priyam | ||||||||||
2021-05-27 16:30 | hgbot | Resolution | open => fixed | |||||||||
2021-05-27 16:30 | hgbot | Status | scheduled => closed | |||||||||
2021-05-27 16:30 | hgbot | Fixed in Version | => RR21Q1.2 | |||||||||
2021-05-27 16:30 | hgbot | Note Added: 0128729 |
Notes | |||||
|
|||||
|
|