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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046506
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2021-05-05 10:552021-05-19 10:33
ReporterjcbourgeoisView Statuspublic 
Assigned Toaferraz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046506: JIRA 1825 - Cash up / Counting tool : possibility to enter a wrong number

DescriptionAt cashup, when using "split coin / bills" feature, it's possible to enter a value which is not coherent regarding the coin and notes configured for the currency.
Steps To Reproduce1) In livebuilds, configure Coins and bank notes for the currency = EUR (check screenshot)
2) In POS2, go to cash up
3) Select cash payment method
4) Click on "split coin / bills"
5) In cash (Bills), type 0.01 : the value is accepted but it's not relevant as this value corresponds to a coin (and not to the minimum value of a note = 5€)
=> An error message should be raised in this case
TagsNo tags attached.
Attached Filespng file icon 2021-05-05 10_47_20-Openbravo - Currency - EUR.png [^] (69,828 bytes) 2021-05-05 10:55


png file icon 2021-05-05 10_45_58-Openbravo POS2.png [^] (40,376 bytes) 2021-05-05 10:55


png file icon 2021-05-05 10_45_43-Openbravo POS2.png [^] (48,799 bytes) 2021-05-05 10:55


png file icon 2021-05-18 18_04_51-.png [^] (76,730 bytes) 2021-05-18 18:09

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0047183 closedRetail JIRA 2113 - Safe Count - Amount should be a multiple of 0.01 
depends on backport 0046526TAP closedaferraz JIRA 1825 - Cash up / Counting tool : possibility to enter a wrong number 
related to defect 0046728 closedAugustoMauch When checking the if the amount to pay with bills is correct, the minimum bill value is not being properly fetched 

-  Notes
(0128034)
hgbot (developer)
2021-05-12 12:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/450 [^]
(0128211)
hgbot (developer)
2021-05-17 12:31

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 3cf14fdd5c41c14c3fc3f78e99b9b6749fc53bc7
Author: Álvaro Ferraz <alvaro.ferraz@openbravo.com>
Date: 2021-05-17T12:30:16+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/3cf14fdd5c41c14c3fc3f78e99b9b6749fc53bc7 [^]

Fixes ISSUE-46506: Don't allow to enter wrong amount when counting coins or bills

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupProcess/stories/CashupProcess.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/__test__/CashupSplitInputs.test.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/stories/CashupSplitInputs.stories.jsx
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSteps/CountPaymentMethodsStep/stories/CountPaymentMethodsStep.stories.jsx
---
(0128212)
hgbot (developer)
2021-05-17 12:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/450 [^]
(0128280)
hgbot (developer)
2021-05-18 07:07

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 26e5f3c304ba38121902ffd6ca2646ecf913e629
Author: Antonio Moreno <anmorenoperez@gmail.com>
Date: 2021-05-18T07:07:16+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/26e5f3c304ba38121902ffd6ca2646ecf913e629 [^]

Related to ISSUE-46506. Fixed missing formatting

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
---
(0128349)
jcbourgeois (reporter)
2021-05-18 18:08

Test KO in Livebuilds : if the cashier enters 5 in Cash (notes) row, this value is refused and an error message is raised.
Note of 5€ should be accepted here as it's the minimum value for note (for currency=EUR).
POS should consider the coins and notes configured for the currency (instead of checking if the entered value is a multiple of 10)
(0128390)
AugustoMauch (manager)
2021-05-19 10:33

Problem is reproducible, will be managed in a separate issue

- Issue History
Date Modified Username Field Change
2021-05-05 10:55 jcbourgeois New Issue
2021-05-05 10:55 jcbourgeois Assigned To => Retail
2021-05-05 10:55 jcbourgeois Triggers an Emergency Pack => No
2021-05-05 10:55 jcbourgeois File Added: 2021-05-05 10_47_20-Openbravo - Currency - EUR.png
2021-05-05 10:55 jcbourgeois File Added: 2021-05-05 10_45_58-Openbravo POS2.png
2021-05-05 10:55 jcbourgeois File Added: 2021-05-05 10_45_43-Openbravo POS2.png
2021-05-05 18:11 guilleaer Resolution time => 1621375200
2021-05-05 18:11 guilleaer Status new => scheduled
2021-05-05 18:12 guilleaer Status scheduled => acknowledged
2021-05-11 16:32 aferraz Status acknowledged => scheduled
2021-05-11 16:32 aferraz Assigned To Retail => aferraz
2021-05-12 12:14 hgbot Note Added: 0128034
2021-05-17 12:31 hgbot Resolution open => fixed
2021-05-17 12:31 hgbot Status scheduled => resolved
2021-05-17 12:31 hgbot Note Added: 0128211
2021-05-17 12:31 hgbot Note Added: 0128212
2021-05-17 12:56 AugustoMauch Status resolved => closed
2021-05-17 12:57 AugustoMauch Review Assigned To => AugustoMauch
2021-05-18 07:07 hgbot Note Added: 0128280
2021-05-18 18:08 jcbourgeois Note Added: 0128349
2021-05-18 18:08 jcbourgeois Status closed => new
2021-05-18 18:08 jcbourgeois Resolution fixed => open
2021-05-18 18:09 jcbourgeois File Added: 2021-05-18 18_04_51-.png
2021-05-19 10:33 AugustoMauch Note Added: 0128390
2021-05-19 10:33 AugustoMauch Status new => scheduled
2021-05-19 10:33 AugustoMauch Status scheduled => resolved
2021-05-19 10:33 AugustoMauch Resolution open => fixed
2021-05-19 10:33 AugustoMauch Status resolved => closed
2021-05-19 10:49 AugustoMauch Relationship added related to 0046728
2021-06-18 14:22 dmiguelez Relationship added duplicate of 0047183


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker