Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008537Openbravo ERP02. Master data managementpublic2009-04-10 20:012009-05-07 17:36
RenateNieuwkoop 
AinhoaPagola 
urgentmajoralways
closedfixed 
5
2.50beta 
2.50MP1 
Core
No
0008537: 2.50: UOM is not being updated when selecting Product with UOM other than 'unit'
When selecting a product with a UOM other than unit (kg, etc), the UOM in the screen doesn't get updated, causing a problem when saving or processing.

See snapshots
Enter a Sales Order line for a product with a UOM other than 'unit', see snapshot, and save. This causes an error message

Enter a Goods Movement (Warehouse Mgmt || Transactions || Goods movement
on line: enter a product with UOM other than 'unit', and action 'process movements' on the header, see snapshot.
250MP1
has duplicate defect 0008883 closed rafaroda get no prodcutdata in orderlines 
jpg 100409UOMGoodsMovement.jpg (155,221) 2009-04-10 20:01
https://issues.openbravo.com/file_download.php?file_id=1168&type=bug
jpg

jpg 100409UOMGoodsMovementError.jpg (153,501) 2009-04-10 20:02
https://issues.openbravo.com/file_download.php?file_id=1169&type=bug
jpg

jpg 100409UOMSalesOrderError.jpg (233,803) 2009-04-10 20:02
https://issues.openbravo.com/file_download.php?file_id=1170&type=bug
jpg

jpg 100409UOMPIKGS.jpg (151,956) 2009-04-12 15:15
https://issues.openbravo.com/file_download.php?file_id=1171&type=bug
jpg

jpg 100409UOMPIError.jpg (192,704) 2009-04-12 15:16
https://issues.openbravo.com/file_download.php?file_id=1172&type=bug
jpg
Issue History
2009-04-10 20:01RenateNieuwkoopNew Issue
2009-04-10 20:01RenateNieuwkoopAssigned To => rafaroda
2009-04-10 20:01RenateNieuwkoopFile Added: 100409UOMGoodsMovement.jpg
2009-04-10 20:02RenateNieuwkoopFile Added: 100409UOMGoodsMovementError.jpg
2009-04-10 20:02RenateNieuwkoopFile Added: 100409UOMSalesOrderError.jpg
2009-04-12 15:15RenateNieuwkoopNote Added: 0015346
2009-04-12 15:15RenateNieuwkoopFile Added: 100409UOMPIKGS.jpg
2009-04-12 15:16RenateNieuwkoopFile Added: 100409UOMPIError.jpg
2009-04-22 19:19psarobePrioritynormal => urgent
2009-04-22 19:19psarobeStatusnew => scheduled
2009-04-23 09:45rafarodaAssigned Torafaroda => gorkaion
2009-04-23 16:04psarobeTag Attached: 250MP1
2009-04-24 11:30AinhoaPagolaNote Added: 0015680
2009-04-24 13:19AinhoaPagolaAssigned Togorkaion => AinhoaPagola
2009-04-24 13:21AinhoaPagolaNote Edited: 0015680
2009-04-24 15:50hgbotCheckin
2009-04-24 15:50hgbotNote Added: 0015702
2009-04-24 15:50hgbotStatusscheduled => resolved
2009-04-24 15:50hgbotResolutionopen => fixed
2009-04-24 15:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8703cfa1506ccd08cf1e1c98d2b5d14da3884120 [^]
2009-05-04 23:51psarobeRegression testing => No
2009-05-04 23:51psarobeStatusresolved => closed
2009-05-05 00:00anonymoussf_bug_id0 => 2786892
2009-05-05 18:10psarobeRelationship addedhas duplicate 0008883
2009-05-07 13:14RenateNieuwkoopStatusclosed => new
2009-05-07 13:14RenateNieuwkoopResolutionfixed => open
2009-05-07 13:14RenateNieuwkoopNote Added: 0016133
2009-05-07 16:21psarobeNote Added: 0016144
2009-05-07 16:22psarobeStatusnew => scheduled
2009-05-07 16:22psarobefix_in_branch => pi
2009-05-07 17:36psarobeStatusscheduled => resolved
2009-05-07 17:36psarobeResolutionopen => fixed
2009-05-07 17:36psarobeStatusresolved => closed
2009-05-07 17:36psarobeNote Added: 0016152

Notes
(0015346)
RenateNieuwkoop   
2009-04-12 15:15   
Also occuring when entering a PI for a product with kgs (in my example sugar):
Warehouse Management || Transactions || Physical Inventory
Create a new record and save
Enter a line for a product with kgs, save, 'process inventory count' in the header (error: see snapshot).
(0015680)
AinhoaPagola   
2009-04-24 11:30   
(edited on: 2009-04-24 13:21)
This issue only reproduces for products with new units. It works fine for products with UOM kg, tin, etc. But not for newly created UOMs.

It is a UUID problem. The callouts works fine for UOMs with numeric IDs but doesn't recognize character IDs.

(0015702)
hgbot   
2009-04-24 15:50   
Repository: erp/devel/pi
Changeset: 8703cfa1506ccd08cf1e1c98d2b5d14da3884120
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Fri Apr 24 15:49:57 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8703cfa1506ccd08cf1e1c98d2b5d14da3884120 [^]

Fixes bug 8537 UUID problem fixed with UOM in Callouts

---
M src/org/openbravo/erpCommon/ad_callouts/SE_Expense_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Budget_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_CreateFromMultiple_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_InOutLine_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Movement_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Order_Product.java
M src/org/openbravo/erpCommon/ad_callouts/SL_Production_Product.java
---
(0016133)
RenateNieuwkoop   
2009-05-07 13:14   
This is still occuring with imported Clients. Please import a new Client and repeat the actions in the new created Client, because the problem still occurs.
(0016144)
psarobe   
2009-05-07 16:21   
Renate, please have you tested in the development instance PI or current main?
(0016152)
psarobe   
2009-05-07 17:36   
Tested and works fine