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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057556
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsminoralways2025-01-02 19:472025-01-22 09:41
ReporteraxelmercadoView Statuspublic 
Assigned Toagusti_gallego 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix 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

0057556: Rounding does not take into account the decimal precision of the UOM

DescriptionIf 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.
Steps To ReproduceIn 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0174378)
mtaal (manager)
2025-01-20 11:38

Hello,
Agusti tried to reproduce it but he can't. He pinged the reporter on this.
(0174451)
hgbot (developer)
2025-01-21 09:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/358 [^]
(0174452)
hgbot (developer)
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 (developer)
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.
(0174495)
hgbot (developer)
2025-01-22 09:41

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/358 [^]
(0174496)
hgbot (developer)
2025-01-22 09:41

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 31669ceabc4bc343d96c2fb115be18e5b2c0568b
Author: Agustí Gállego <agusti.gallego@openbravo.com>
Date: 21-01-2025 11:34:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/31669ceabc4bc343d96c2fb115be18e5b2c0568b [^]

Fixes ISSUE-57556: Added missing UOM Standard Precision to IC line info

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/utils/inventorycount/InventoryCountUtils.java
---

- Issue History
Date Modified Username Field Change
2025-01-02 19:47 axelmercado New Issue
2025-01-02 19:47 axelmercado Assigned To => Triage Omni WMS
2025-01-10 10:16 mtaal Assigned To Triage Omni WMS => agusti_gallego
2025-01-20 11:38 mtaal Note Added: 0174378
2025-01-20 11:38 mtaal Status new => feedback
2025-01-21 09:38 hgbot Note Added: 0174451
2025-01-21 09:40 hgbot Note Added: 0174452
2025-01-21 10:29 agusti_gallego Note Added: 0174460
2025-01-22 09:41 hgbot Note Added: 0174495
2025-01-22 09:41 hgbot Resolution open => fixed
2025-01-22 09:41 hgbot Status feedback => closed
2025-01-22 09:41 hgbot Note Added: 0174496


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker