Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009186Openbravo ERP04. Warehouse managementpublic2009-05-26 14:482009-06-16 00:00
walle 
areefbasha 
urgentmajoralways
closedfixed 
20Ubuntju
2.50MP1 
pi 
Core
No
0009186: Physical Inventory - cannot create lines
Selecting a product in physical inventory lines does not update the uom, further is not possible to save the line, the icons for saving, new ecc. does no more respond on clicking.

create new physical inventoryin warehouse management
go to lines and create a line manually
choose warehouse USING THE SELECTOR WITH THE MOUSE
choose product USING THE SELECTOR WITH THE MOUSE
type a quantity
try to save: page is blocked
No tags attached.
depends on backport 0009436 closed areefbasha Physical Inventory - cannot create lines 
txt DBA-diff.txt (992) 2009-06-10 23:52
https://issues.openbravo.com/file_download.php?file_id=1414&type=bug
Issue History
2009-05-26 14:48walleNew Issue
2009-05-26 14:48walleAssigned To => rafaroda
2009-05-29 11:43psarobeNote Added: 0016758
2009-05-29 11:43psarobePrioritynormal => urgent
2009-05-29 11:43psarobeStatusnew => scheduled
2009-06-01 11:47rafarodaAssigned Torafaroda => iperdomo
2009-06-01 11:47rafarodaProposed Solution updated
2009-06-10 19:57iciordiaAssigned Toiperdomo => dbaz
2009-06-10 23:52dbazFile Added: DBA-diff.txt
2009-06-10 23:59dbazNote Added: 0017200
2009-06-11 00:00dbazAssigned Todbaz => rafaroda
2009-06-11 07:37rafarodaNote Added: 0017207
2009-06-11 07:37rafarodaAssigned Torafaroda => areefbasha
2009-06-11 07:37rafarodaIssue cloned0009436
2009-06-11 07:37rafarodaRelationship addeddepends on 0009436
2009-06-12 12:24hgbotCheckin
2009-06-12 12:24hgbotNote Added: 0017245
2009-06-12 12:24hgbotStatusscheduled => resolved
2009-06-12 12:24hgbotResolutionopen => fixed
2009-06-12 12:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f4c05c8d6b716de0b835f7d79b51a75cc2ad40ea [^]
2009-06-15 10:31sureshbabuStatusresolved => closed
2009-06-15 10:31sureshbabuNote Added: 0017286
2009-06-15 10:31sureshbabuFixed in Version => pi
2009-06-16 00:00anonymoussf_bug_id0 => 2806849

Notes
(0016758)
psarobe   
2009-05-29 11:43   
Very important to follow the order of the steps
(0017200)
dbaz   
2009-06-10 23:59   
The problem is not related to javascript. It seems to be a problem with the java of the callout.

/src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Locator.java

At the end of that file, you can see that if there is no product selected the function doesn't end well and it hangs the callout process.

The attached diff (DBA-diff.txt) fixes the bug.

The bug is also present in 2.40

I return the bug to you, Rafa, because you should assign it to the right person who can check my attached diff to see if it doesn't break the "business logic" in any way.

If everything is ok, the new responsible of the bug should commit the fix and do the backport if you decide to create it.
(0017207)
rafaroda   
2009-06-11 07:37   
Thank you David.
(0017245)
hgbot   
2009-06-12 12:24   
Repository: erp/devel/pi
Changeset: f4c05c8d6b716de0b835f7d79b51a75cc2ad40ea
Author: Areef Basha <areef.basha <at> openbravo.com>
Date: Fri Jun 12 15:49:35 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f4c05c8d6b716de0b835f7d79b51a75cc2ad40ea [^]

Fixes bug 9186: Physical Inventory - cannot create lines.

Now the no product selection function has been made to end well.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Inventory_Locator.java
---
(0017286)
sureshbabu   
2009-06-15 10:31   
Tested working fine