Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0057524 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Modules] Advanced Warehouse Operations | major | always | 2024-12-20 16:56 | 2024-12-20 16:56 | |||||||
Reporter | ivazquez | View Status | public | |||||||||
Assigned To | Triage Omni WMS | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
Regression introduced in release | ||||||||||||
Summary | 0057524: Error Put Away: Rounding with 3.4 | |||||||||||
Description | Error when trying to make a Put-Away of a UOM Kilograms product: If you put an amount of 3.4, the rounding does not work correctly and shows you 3.3999. Attached is a video showing the problem Reproduced in this livebuilds: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/web/org.openbravo.warehouse.advancedwarehouseoperations/ [^] | |||||||||||
Steps To Reproduce | -Have a product configured in Kilos -Open AWO and try to Put Away this product. -Set quantity 3.4 -When the Put Away is created you will see that the quantity is 3.39999 | |||||||||||
Proposed Solution | https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/blob/master/src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/processors/PutAwayGeneratorProcessor.java?ref_type=heads#L85 [^] final BigDecimal qty = BigDecimal.valueOf(jsonStorageDetail.getDouble("qtyToProcess")); | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | issuePutAwayRounding.mp4 [^] (3,104,726 bytes) 2024-12-20 16:56 | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2024-12-20 16:56 | ivazquez | New Issue | |
2024-12-20 16:56 | ivazquez | Assigned To | => Triage Omni WMS |
2024-12-20 16:56 | ivazquez | File Added: issuePutAwayRounding.mp4 | |
2024-12-20 16:56 | ivazquez | Issue Monitored: axelmercado |
Copyright © 2000 - 2009 MantisBT Group |