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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046738
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash upmajoralways2021-05-19 17:102021-05-27 08:33
ReportermalsasuaView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionfixedFixed in VersionRR21Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - Confirmed Stable
Regression date2020-02-27
Regression introduced in releaseRR20Q4
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/64bc961eacee4994574570b715435c805843972f [^]
Triggers an Emergency PackNo
Summary

0046738: 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 ]
depends on backport 0046854RR21Q2.1 closedrqueralta Wrong starting amount in cashup when there is only one payment method 
depends on backport 0046855RR21Q1.2 closedrqueralta Wrong starting amount in cashup when there is only one payment method 
depends on backport 0046856RR20Q4.4 closedrqueralta Wrong starting amount in cashup when there is only one payment method 

-  Notes
(0128687)
hgbot (developer)
2021-05-26 21:49

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/436 [^]
(0128694)
hgbot (developer)
2021-05-27 08:28

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/436 [^]
(0128695)
hgbot (developer)
2021-05-27 08:28

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 060f575f275741686b339fac00a9c9d4a630b4fa
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-05-27T06:25:32+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/060f575f275741686b339fac00a9c9d4a630b4fa [^]

Fixed BUG-46738: 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-19 17:10 malsasua New Issue
2021-05-19 17:10 malsasua Assigned To => Retail
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 Note Added: 0128687
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 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker