-
- Downloads
[FIX] stock: Correct forecast quantity with view location
Usecase to reproduce: - Set the lot_stock_id as a view location - Create a PO and validate it -> The forecast quantity on stat button is correct but it's missing in the forecast quantity report. It happens because the condition for stock_move is based on valuation strategy. However it's not correct since it's not True that a product is in the stock if it's valuated (as subcontracting, owner, ...) In order to fix it uses the warehouse in order to define if a move is in or out (the same way than the _get_domain_locations on product).
Please register or sign in to comment