Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020840Openbravo ERPA. Platformpublic2012-06-22 14:382012-06-27 05:29
mtaal 
mtaal 
normalcriticalhave not tried
closedfixed 
5
 
3.0MP133.0MP13 
No
Core
No
0020840: Product selector in Product Bill of Material does not work
Go to the product window
Enter a product, check the 'bill of material' flag
Go to the bill of material child tab
Create a new record
Open the product selector suggestion box or grid

Nothing is shown.

The reason is that the selector uses the warehouse from the session but the session does not have a warehouse set for that window, this because the product window does not have a warehouse set.
See description
No tags attached.
Issue History
2012-06-22 14:38mtaalNew Issue
2012-06-22 14:38mtaalAssigned To => mtaal
2012-06-22 14:38mtaalModules => Core
2012-06-22 14:38mtaalOBNetwork customer => No
2012-06-22 23:24hgbotCheckin
2012-06-22 23:24hgbotNote Added: 0050050
2012-06-22 23:24hgbotStatusnew => resolved
2012-06-22 23:24hgbotResolutionopen => fixed
2012-06-22 23:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4d7158b8b0d4e59388e86fea832da2dc024e8f29 [^]
2012-06-25 17:31AugustoMauchNote Added: 0050071
2012-06-25 17:31AugustoMauchStatusresolved => closed
2012-06-25 17:31AugustoMauchFixed in Version => 3.0MP13
2012-06-27 05:29hudsonbotCheckin
2012-06-27 05:29hudsonbotNote Added: 0050162

Notes
(0050050)
hgbot   
2012-06-22 23:24   
Repository: erp/devel/pi
Changeset: 4d7158b8b0d4e59388e86fea832da2dc024e8f29
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jun 22 15:00:41 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4d7158b8b0d4e59388e86fea832da2dc024e8f29 [^]

Fixes issue 20840: Product selector in Product Bill of Material does not work
If the warehouse is not defined in the session then the default value expression evaluation returns a '', handle this case.
Note this has not worked for a long while, it does not work in main either

---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDataSourceFilter.java
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/SelectorDefaultFilterActionHandler.java
---
(0050071)
AugustoMauch   
2012-06-25 17:31   
Code reviewed and verified in pi@bd848324099c
(0050162)
hudsonbot   
2012-06-27 05:29   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test