Openbravo Issue Tracking System - Modules
View Issue Details
0057556ModulesAdvanced Warehouse Operationspublic2025-01-02 19:472025-01-21 10:29
axelmercado 
agusti_gallego 
highminoralways
feedbackopen 
5
 
 
0057556: Rounding does not take into account the decimal precision of the UOM
If we have a unit of measure that has a standard precision with several decimal places, it is not taken into account when entering values in movements such as inventory count, etc.
For example, if we have a standard precision of 5 and in an inventory count, we enter a value in a line of “3.725”, it is automatically rounded to “3.73” and in some of the cases, when the inventory is confirmed and the tasks are generated, it is generated with a value of “3”, thus eliminating the decimals.
In AWO:
- Menu : Count
- Enter a product with a unit of measure that has a standard precision of “5”.
- In the inventory, set the line to a quantity of e.g. “99.275” and verify that after clicking OK the value is automatically set to “99.28”.
- Confirm the inventory and the task is generated.
- In some clients it happens that after the task is generated, the value goes from “99.28” to “99” directly without decimals, but it is something that I have not always been able to reproduce.
No tags attached.
Issue History
2025-01-02 19:47axelmercadoNew Issue
2025-01-02 19:47axelmercadoAssigned To => Triage Omni WMS
2025-01-10 10:16mtaalAssigned ToTriage Omni WMS => agusti_gallego
2025-01-20 11:38mtaalNote Added: 0174378
2025-01-20 11:38mtaalStatusnew => feedback
2025-01-21 09:38hgbotNote Added: 0174451
2025-01-21 09:40hgbotNote Added: 0174452
2025-01-21 10:29agusti_gallegoNote Added: 0174460

Notes
(0174378)
mtaal   
2025-01-20 11:38   
Hello,
Agusti tried to reproduce it but he can't. He pinged the reporter on this.
(0174451)
hgbot   
2025-01-21 09:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/358 [^]
(0174452)
hgbot   
2025-01-21 09:40   
Repository: https://gitlab.com/openbravo/ci/context_definitions [^]
Changeset: fd164c72bb9e0ca2f94590dd96ba697b0ae12067
Author: Agustí Gállego <agusti.gallego@openbravo.com>
Date: 21-01-2025 09:39:59
URL: https://gitlab.com/openbravo/ci/context_definitions/-/commit/fd164c72bb9e0ca2f94590dd96ba697b0ae12067 [^]

Related to ISSUE-57556: Context definition for testing

---
M omni/omni-wms-agm.json
---
(0174460)
agusti_gallego   
2025-01-21 10:29   
To actually reproduce the issue:
1. Create an IC in AWO and add a product with a UOM of a standard precision > 2.
2. Navigate back to the main screen.
3. Open the IC again and change the quantities to the desired quantity with decimals.
4. See that the rounding is wrong.