diff options
| author | Sebastien LANGE <sla@subteno-it.com> | 2020-02-02 21:01:47 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2020-02-07 08:05:15 +0000 |
| commit | cf32ec388c3a0a8a0a986e071f3c2a78cbb23b1c (patch) | |
| tree | f2e91e7207a08f452d7731cc2956f93bdc193618 /setup.py | |
| parent | 9e78d55344046b58c0e9462850aba384f259a9e8 (diff) | |
[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).
X-original-commit: d7da1b733b4cece73d26805e6371499026bed0cd
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
