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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057524
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsmajoralways2024-12-20 16:562024-12-20 16:56
ReporterivazquezView Statuspublic 
Assigned ToTriage Omni WMS 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM 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

DescriptionError 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 Solutionhttps://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"));
TagsNo tags attached.
Attached Files? file icon issuePutAwayRounding.mp4 [^] (3,104,726 bytes) 2024-12-20 16:56

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker