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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051526
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2023-02-01 12:562023-03-13 17:59
ReporternjimenezView Statuspublic 
Assigned Tonjimenez 
PrioritynormalResolutionfixedFixed in Version23Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0051526: Cashup and initial count are not taken into account when difference limit is zero

DescriptionWhen a payment method or an orgarnization is configured to show an approval when the difference specified in cashup or initial count are grater than the provided amount, it does not work if the specified amount is zero.
Steps To Reproduce1. Configure a payment method with count difference limit zero
2. Configure at least one action reason for validate count and advance user action
2. Go to the POS
3. Open the main menu and select close till option
4. On count step insert an amount greater than zero
5. See how the approval reasons dialog is not shown
Proposed SolutionAttached a fix with the proposed solution it should be accompanied by a test case in PaymentMethodValidations.test.js
TagsNo tags attached.
Attached Filesdiff file icon fix.diff [^] (1,005 bytes) 2023-02-01 13:11 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0051249 closednjimenez Action Reasons in Open till and Cashup with differences 

-  Notes
(0147173)
hgbot (developer)
2023-03-01 13:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1562 [^]
(0147500)
hgbot (developer)
2023-03-13 17:59

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1562 [^]
(0147501)
hgbot (developer)
2023-03-13 17:59

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fc2e82887dd7d4029857fb66439c0b86055f2b06
Author: Natalia Jimenez <natalia.jimenez@openbravo.com>
Date: 13-03-2023 16:59:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fc2e82887dd7d4029857fb66439c0b86055f2b06 [^]

Fixed BUG-51526: Cashup and initial count difference limit wrongly checked when limit is 0

---
M web-jspack/org.openbravo.pos2/src/model/cashup/PaymentMethodValidations.js
M web-jspack/org.openbravo.pos2/src/model/cashup/__test__/PaymentMethodValidations.test.js
---

- Issue History
Date Modified Username Field Change
2023-02-01 12:56 njimenez New Issue
2023-02-01 12:56 njimenez Assigned To => Retail
2023-02-01 12:56 njimenez Triggers an Emergency Pack => No
2023-02-01 13:03 caristu Relationship added related to 0051249
2023-02-01 13:11 caristu Proposed Solution updated
2023-02-01 13:11 caristu File Added: fix.diff
2023-03-01 09:57 njimenez Assigned To Retail => njimenez
2023-03-01 13:48 hgbot Note Added: 0147173
2023-03-13 17:59 hgbot Note Added: 0147500
2023-03-13 17:59 hgbot Resolution open => fixed
2023-03-13 17:59 hgbot Status new => closed
2023-03-13 17:59 hgbot Fixed in Version => 23Q2
2023-03-13 17:59 hgbot Note Added: 0147501


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker