Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046855 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Cash up | major | always | 2021-05-19 17:10 | 2021-05-27 16:30 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q1.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | RR21Q1.2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0128729) hgbot (developer) 2021-05-27 16:30 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 7920fb55deb7be11e63dd154ab203f9859e25aeb Author: Rafael Queralta <rafaelcuba81@gmail.com> Date: 2021-05-27T10:05:26-04:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/7920fb55deb7be11e63dd154ab203f9859e25aeb [^] Fixed BUG-46855: Taking into account lastCashUpPayments length equals 1 --- M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/PaymentMethodUtils.js --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |