Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0046738 | Retail Modules | Cash up | public | 2021-05-19 17:10 | 2021-05-27 08:33 | |||||||||||||||||||||
Reporter | malsasua | |||||||||||||||||||||||||
Assigned To | rqueralta | |||||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | RR21Q3 | ||||||||||||||||||||||||
Merge Request Status | approved | |||||||||||||||||||||||||
Review Assigned To | marvintm | |||||||||||||||||||||||||
OBNetwork customer | Gold | |||||||||||||||||||||||||
Support ticket | 23944 | |||||||||||||||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||||||||||||||||
Regression date | 2020-02-27 | |||||||||||||||||||||||||
Regression introduced in release | RR20Q4 | |||||||||||||||||||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/64bc961eacee4994574570b715435c805843972f [^] | |||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0046738: 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-19 17:10 | malsasua | New Issue | ||||||||||||||||||||||||
2021-05-19 17:10 | malsasua | Assigned To | => Retail | |||||||||||||||||||||||
2021-05-19 17:10 | malsasua | OBNetwork customer | => Gold | |||||||||||||||||||||||
2021-05-19 17:10 | malsasua | Support ticket | => 23944 | |||||||||||||||||||||||
2021-05-19 17:10 | malsasua | Resolution time | => 1620424800 | |||||||||||||||||||||||
2021-05-19 17:10 | malsasua | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2021-05-19 17:12 | malsasua | Proposed Solution updated | ||||||||||||||||||||||||
2021-05-19 17:56 | marvintm | Resolution time | 1620424800 => 1623103200 | |||||||||||||||||||||||
2021-05-19 19:14 | martinsdan | Issue Monitored: martinsdan | ||||||||||||||||||||||||
2021-05-19 22:17 | rqueralta | Assigned To | Retail => rqueralta | |||||||||||||||||||||||
2021-05-26 18:16 | rqueralta | Status | new => scheduled | |||||||||||||||||||||||
2021-05-26 21:49 | hgbot | Merge Request Status | => open | |||||||||||||||||||||||
2021-05-26 21:49 | hgbot | Note Added: 0128687 | ||||||||||||||||||||||||
2021-05-27 08:25 | hgbot | Merge Request Status | open => approved | |||||||||||||||||||||||
2021-05-27 08:28 | hgbot | Note Added: 0128694 | ||||||||||||||||||||||||
2021-05-27 08:28 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2021-05-27 08:28 | hgbot | Status | scheduled => closed | |||||||||||||||||||||||
2021-05-27 08:28 | hgbot | Fixed in Version | => RR21Q3 | |||||||||||||||||||||||
2021-05-27 08:28 | hgbot | Note Added: 0128695 | ||||||||||||||||||||||||
2021-05-27 08:28 | marvintm | Status | closed => new | |||||||||||||||||||||||
2021-05-27 08:28 | marvintm | Resolution | fixed => open | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Fixed in Version | RR21Q3 => | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Status | new => scheduled | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Status | scheduled => resolved | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Fixed in Version | => RR21Q3 | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Resolution | open => fixed | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Review Assigned To | => marvintm | |||||||||||||||||||||||
2021-05-27 08:29 | marvintm | Status | resolved => closed | |||||||||||||||||||||||
2021-05-27 08:33 | marvintm | Regression level | => Production - Confirmed Stable | |||||||||||||||||||||||
2021-05-27 08:33 | marvintm | Regression date | => 2020-02-27 | |||||||||||||||||||||||
2021-05-27 08:33 | marvintm | Regression introduced in release | => RR20Q4 | |||||||||||||||||||||||
2021-05-27 08:33 | marvintm | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/64bc961eacee4994574570b715435c805843972f [^] |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|