Openbravo Issue Tracking System - Modules
View Issue Details
0057524ModulesAdvanced Warehouse Operationspublic2024-12-20 16:562024-12-20 16:56
ivazquez 
Triage Omni WMS 
highmajoralways
newopen 
5
 
 
0057524: Error Put Away: Rounding with 3.4
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/ [^]
-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
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"));
No tags attached.
? issuePutAwayRounding.mp4 (3,104,726) 2024-12-20 16:56
https://issues.openbravo.com/file_download.php?file_id=20667&type=bug
Issue History
2024-12-20 16:56ivazquezNew Issue
2024-12-20 16:56ivazquezAssigned To => Triage Omni WMS
2024-12-20 16:56ivazquezFile Added: issuePutAwayRounding.mp4
2024-12-20 16:56ivazquezIssue Monitored: axelmercado

There are no notes attached to this issue.