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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050947
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-11-18 12:212023-08-02 11:22
Reportercharlotte_vasseurView Statuspublic 
Assigned Tomeriem_azaf 
PrioritynormalResolutionfixedFixed in Version23Q4
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

0050947: [Initial count] Error when entering some amounts via keyboard or calculator

DescriptionAn error 'The counted amount for payment method Cash (Coins) must be multiple of 0.01' is displayed when entering some amounts via keyboard or calculator when doing the initial count
Always reproductible with amount 34.01

No error with counting tool for the same amount
Steps To ReproduceLog in POS
Click on 'Split Coins & Bills' button
Click on 'Cash (Coins)' button
Enter amount 34.01 with the keyboard
=> Error 'The counted amount for payment method Cash (Coins) must be multiple of 0.01' is displayed
(See Error when entering amount via keyboard or calculator.png)

Same if I enter the same amount via the calculator (34.01)

But no error if I click on 'Counting tool' and add coins to have 34.01
(See No error via counting tool.png)
TagsNo tags attached.
Attached Filespng file icon Error when entering amount via keyboard or calculator.png [^] (98,957 bytes) 2022-11-18 12:21


png file icon No error via counting tool.png [^] (93,020 bytes) 2022-11-18 12:21

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0153034)
hgbot (developer)
2023-07-31 15:50

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1989 [^]
(0153096)
hgbot (developer)
2023-08-02 11:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1989 [^]
(0153097)
hgbot (developer)
2023-08-02 11:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 2b6055f7c72f82799fbf17fafb68fd31a1c85b17
Author: Meriem Azaf <meriem.azaf@openbravo.com>
Date: 02-08-2023 11:09:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/2b6055f7c72f82799fbf17fafb68fd31a1c85b17 [^]

Fixes ISSUE-50947: [Initial count] Error when entering some amounts via keyboard or calculator

An error 'The counted amount for payment method Cash (Coins) must be multiple of 0.01' is displayed when entering some amounts via keyboard or calculator when doing the initial count.

The problem was in the division. So, we use the big decimal to fix it.

---
M web-jspack/org.openbravo.pos2/src/components/Cashup/CashupSplitInputs/CashupSplitInputs.jsx
---

- Issue History
Date Modified Username Field Change
2022-11-18 12:21 charlotte_vasseur New Issue
2022-11-18 12:21 charlotte_vasseur Assigned To => Retail
2022-11-18 12:21 charlotte_vasseur File Added: Error when entering amount via keyboard or calculator.png
2022-11-18 12:21 charlotte_vasseur Triggers an Emergency Pack => No
2022-11-18 12:21 charlotte_vasseur File Added: No error via counting tool.png
2022-11-18 14:29 rafaroda Severity minor => major
2022-12-12 13:06 hgbot Note Added: 0144519
2023-04-04 15:04 guillermogil Assigned To Retail => Aaron_Alvarez
2023-04-04 15:05 guillermogil Status new => scheduled
2023-05-09 15:49 guillermogil Note Deleted: 0144519
2023-05-09 15:49 guillermogil Assigned To Aaron_Alvarez => Retail
2023-05-09 15:49 guillermogil Status scheduled => acknowledged
2023-05-09 15:49 guillermogil Status acknowledged => scheduled
2023-06-21 15:49 hgbot Note Added: 0151447
2023-07-28 11:36 meriem_azaf Assigned To Retail => meriem_azaf
2023-07-31 15:50 hgbot Note Added: 0153034
2023-08-01 12:31 AugustoMauch Note Deleted: 0151447
2023-08-02 11:22 hgbot Resolution open => fixed
2023-08-02 11:22 hgbot Status scheduled => closed
2023-08-02 11:22 hgbot Note Added: 0153096
2023-08-02 11:22 hgbot Fixed in Version => 23Q4
2023-08-02 11:22 hgbot Note Added: 0153097


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker