Notes |
|
|
Unable to reproduce in current pi following steps to reproduce.
Please, if you can reproduce it, add more detailed steps as well as any errors you might have in openbravo.log or in javascript. |
|
|
|
Just made a video of the manage reservation window. |
|
|
|
Test plan 1:
As group admin role:
1- Define Enable Stock Reservations preference
2- Log out and log in
3- Go to Goods receipt window and create some entries selecting different attributes and storage bins for the same product.
Add a product with an attribute set value that has stock in a storage bin. You should open the Product Selector.
Product: Zumo de Naranja Bio 0,33L
Attribute: L5
Storage Bin: Rn-0-0-0
Complete
Add a product with an attribute set value that has stock in a storage bin. You should open the Product Selector.
Product: Zumo de Naranja Bio 0,33L
Attribute: L8
Storage Bin: Rn-0-0-0
Complete
Add a product with an attribute set value that has stock in a storage bin. You should open the Product Selector.
Product: Zumo de Naranja Bio 0,33L
Attribute: L8
Storage Bin: Rn-2-0-0
Complete
4- Go to Sales Order window and create a Sales Order for the product received
Product: Zumo de Naranja Bio 0,33L
5- Click on Manage Reservation window
Check the previous goods receipts created for Zumo de Naranja are shown.
6- Select two values in the Attribute Set Value filter
Attribute: ==L5 or ==L8
Check the records are filtered and only shows records for attributes equal to L5 or L8. This is correct.
7- Select a value in the Warehouse.
Warehouse: Región Norte
Check only the records for the selected filters (Warehouse Región Norte and Attributes L5 or L8) are shown. This is correct.
Test plan 2
Repeat steps 1 to 5.
6- Select Storage Bin: Rn-0-0-0
Check the records are filtered and only records for Storage bin Rn-0-0-0 are shown, not other filter is applied. This is correct.
7- Select two values in the Attribute Set Value filter
Attribute: ==L5 or ==L8
Check the records are filtered and only records for Storage bin Rn-0-0-0 and attributes equal to L5 or L8 are shown. This is correct.
8- Select a value in the Warehouse.
Warehouse: Región Norte
Check only the records for the selected filters (selected Storage bin, Warehouse and Attributes) are shown.
9- Click again in Storage bin selector
Check that filter ==Rn-0-0-0 is replaced by ==54EB861A446D464EAA433477A1D867A6. The records still correctly filtered, but the Rn-0-0-0 option in the drop down is unselected. It is wrong.
10- Click at any other filter without change any of them.
Check some or all records dissapear.
Test plan 3
Repeat steps 1 to 5.
6- Select L5 in the Attribute Set Value filter
Attribute: ==L5
Check the records are filtered and only records for attributes equal to L5 are shown. This is correct.
7- Select Storage Bin: Rn-0-0-0
Check the records are filtered and only records for Storage bin Rn-0-0-0 and attributes equal to L5 are shown. This is correct.
8- Click again in Attribute Set Value filter
Check that filter ==L5 is replaced by ==A3D2CFF6B76F49EFA0922456A69CA211. The records still correctly filtered, but the L5 option in the drop down is unselected. It is wrong.
9- Click at any other filter without change any of them.
Check all records dissapear.
Test Plan 4 (sometimes test plan 3 is not reproducible after step 7)
Repeat steps 1 to 5.
6- Select L5 in the Attribute Set Value filter
Attribute: ==L5
Check the records are filtered and only records for attributes equal to L5 are shown. This is correct.
7a- Select Storage Bin: Rn-0-0-0
Check the records are filtered and only records for Storage bin Rn-0-0-0 and attributes equal to L5 are shown. This is correct.
7b- Deselect Storage Bin: Rn-0-0-0
8- Click again in Attribute Set Value filter
Check that filter ==L5 is replaced by ==A3D2CFF6B76F49EFA0922456A69CA211. The records still correctly filtered, but the L5 option in the drop down is unselected. It is wrong.
9- Click at any other filter without change any of them.
Check all records dissapear. |
|
|
(0087334)
|
hgbot
|
2016-06-16 11:20
|
|
Repository: erp/devel/pi
Changeset: d1bf16311eab6cc19030cc19d2f3d2b11ad43895
Author: Mark <markmm82 <at> gmail.com>
Date: Thu Jun 09 11:05:00 2016 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/d1bf16311eab6cc19030cc19d2f3d2b11ad43895 [^]
Fixes issue 30455: Add support for multiple filtering in Stock Reservation P&E
Added support for multiple criteria filtering in getGridData method
---
M src/org/openbravo/common/datasource/StockReservationPickAndEditDataSource.java
---
|
|
|
(0087335)
|
hgbot
|
2016-06-16 11:20
|
|
Repository: erp/devel/pi
Changeset: bf09b8450ffa47543e6c56ca33cead56c39162c9
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Jun 15 13:54:21 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bf09b8450ffa47543e6c56ca33cead56c39162c9 [^]
Related to issue 30455: Code review improvements
Added also support for multiple criteria filtering in getWarehouseFilterData, getStorageFilterData, getAttributeSetValueFilterData and getOrderLineSetValueFilterData methods.
Add criteria.has("fieldName") check to avoid NPE.
---
M src/org/openbravo/common/datasource/StockReservationPickAndEditDataSource.java
---
|
|
|
|
|
|
|
|
|
|
|