diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2018-04-19 13:38:50 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim-odoo@users.noreply.github.com> | 2018-04-20 10:22:58 +0200 |
| commit | 9daf3f85a8a3b012a79226fe13d3cde2293fcce0 (patch) | |
| tree | 8711d6e0f51ec8c212899f28d906b18e5727bf0d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | dea07fc29116c36c8a3773eec0fce526a972ba08 (diff) | |
[FIX] stock: search on quantity
- Create a stockable Product A
- Get create an incoming picking at date D for A
- Go to Inventory > Report > Inventory, and search for the the inventory
at date D-1.
- A should appear with a quantity on hand of 0.
- Filter on 'Available Products'
The product still appear in the list with a quantity on hand of zero.
The optimized method `_search_qty_available_new` is used, although it
doesn't take into account dates.
The original use case for this optimized method was to quickly get
products with stock on hand, i.e. products with quants without needed
information of stock moves.
opw-1833510
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
