Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020044Openbravo ERP03. Procurement managementpublic2012-03-15 21:022012-03-21 16:46
dmitry_mezentsev 
vmromanos 
immediatemajoralways
closedduplicate 
5
pi 
 
Core
No
0020044: Requisition window. Product selector shows empty list.
Suddenly this product selector received default filter in the Warehouse field which makes it empty.

In general this selector should show products that are not available in the stock and for them Warehouse field is empty. So if it is set - then list of products is empty.
live.builds.pi (15.03.2012)

1. Login with a default user
2. Create new Requisition.
3. Go to Lines and create new line.
4. Try to select product and mention that list is empty and there is a default Warehouse filter applied.
Regression QA
duplicate of defect 0020045 closed dmiguelez When creating a new Line in a Requisition the Product is not correctly filtered. 
related to defect 00197863.0MP10 closed dmiguelez No filter in the product selector due to the warehouse selected in the Goods Shipment header 
Issue History
2012-03-15 21:02dmitry_mezentsevNew Issue
2012-03-15 21:02dmitry_mezentsevAssigned To => vmromanos
2012-03-15 21:02dmitry_mezentsevModules => Core
2012-03-15 21:02dmitry_mezentsevTag Attached: Regression QA
2012-03-20 10:44vmromanosRelationship addedrelated to 0019786
2012-03-20 10:47dmiguelezRelationship addedrelated to 0020045
2012-03-20 10:58vmromanosNote Added: 0046532
2012-03-20 10:58vmromanosAssigned Tovmromanos => dmitry_mezentsev
2012-03-20 10:58vmromanosStatusnew => feedback
2012-03-21 15:32vmromanosStatusfeedback => scheduled
2012-03-21 15:32vmromanosNote Added: 0046596
2012-03-21 15:32vmromanosAssigned Todmitry_mezentsev => vmromanos
2012-03-21 15:32vmromanosfix_in_branch => pi
2012-03-21 16:46vmromanosRelationship replacedduplicate of 0020045
2012-03-21 16:46vmromanosNote Added: 0046603
2012-03-21 16:46vmromanosStatusscheduled => closed
2012-03-21 16:46vmromanosResolutionopen => duplicate

Notes
(0046532)
vmromanos   
2012-03-20 10:58   
The filter is now working as expected:
- If the selector is inside of a window with a warehouse field, the selector automatically filters by this warehouse
- If the selector is inside of a window without a warehouse field, the selector automatically filters by the default warehouse defined in the session (change role popup). This is the scenario reported in the issue.

IMHO this is the right behaviour. If your default warehouse is "My warehouse", you will probably want the ERP to automatically filter by the products inside this warehouse (normal scenario).
However, if you know you want to select a product outside your default warehouse (something exceptional), you should open the selector to remove the default filter.

If we think this behaviour is not right, we have two possible solutions:
- The product selector should not define a warehouse filter in case the window hasn't a warehouse field
- We should create a new product selector that doesn't take into account the default warehouse defined in the session and place it in the right windows.
(0046596)
vmromanos   
2012-03-21 15:32   
After a bit of research the final solution is:
- The product selector should not define a warehouse filter in case the window hasn't a warehouse field
(0046603)
vmromanos   
2012-03-21 16:46   
Fixed with 0020045