Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046856
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Cash upmajoralways2021-05-19 17:102021-05-27 16:32
ReportermalsasuaView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionfixedFixed in VersionRR20Q4.4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR20Q4.4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046856: Wrong starting amount in cashup when there is only one payment method

DescriptionWhen 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 Solutionthe 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0046738 closedrqueralta Wrong starting amount in cashup when there is only one payment method 

-  Notes
(0128730)
hgbot (developer)
2021-05-27 16:32

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 34838d8fa5e0c524417250cc47e908cff0c66727
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-05-27T10:07:21-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/34838d8fa5e0c524417250cc47e908cff0c66727 [^]

Fixed BUG-46856: Taking into account lastCashUpPayments length equals 1

---
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/PaymentMethodUtils.js
---

- Issue History
Date Modified Username Field Change
2021-05-27 08:29 marvintm Type defect => backport
2021-05-27 08:29 marvintm Target Version => RR20Q4.5
2021-05-27 08:54 marvintm Target Version RR20Q4.5 => RR20Q4.4
2021-05-27 15:03 priyam Issue Monitored: priyam
2021-05-27 16:32 hgbot Resolution open => fixed
2021-05-27 16:32 hgbot Status scheduled => closed
2021-05-27 16:32 hgbot Fixed in Version => RR20Q4.4
2021-05-27 16:32 hgbot Note Added: 0128730


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker