Let users search products and locations by quantity
This was discussed for years, but it seems the search methods for product quantities on the Product model and the Stock Location model are still not implemented.
We should implement them and add quick filters :
- available products (stock>0)
- products out of stock
- products with negative stock
- used locations (stock >0)
- empty locations (stock = 0)
- locations with negative stock(stock<0)
Blueprint information
- Status:
- Started
- Approver:
- Stock and Logistic Core Editors
- Priority:
- Undefined
- Drafter:
- Numérigraphe
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Review
- Series goal:
- Proposed for trunk
- Implementation:
- Beta Available
- Milestone target:
- None
- Started by
- Numérigraphe
- Completed by
Related branches
Related bugs
Bug #677454: Allow to filter out locations/products where quantity is zero | Confirmed |
Bug #850752: fnct_search missing for many function fields | Won't Fix |
Sprints
Whiteboard
Numerigraphe have an implementation available for v6.0 which works and should not be too difficult to adapt for the current trunk. It does need refactoring with regards to the improvements of the stock module, but could be used as a basis for this.
Probably other implementations exist, so please spread the word so we can get everyone to work on the same proposal.
Cristian Salamea can help migrating existing module for 6.0 to 6.1
Work Items
Work items:
Extract the changes in Numerigraphe's branch as a module for v6.0: DONE
Review/clean up/improve the implementation: TODO
Migrate module to 6.1, merge into lp:stock-logistic-warehouse/6.1: TODO
Migrate module to 7.0, merge into lp:stock-logistic-warehouse: TODO
Convert module to a clean patch, propose to merge into the trunk: TODO