diff options
| author | William Henrotin <whe@odoo.com> | 2020-02-04 11:08:24 +0000 |
|---|---|---|
| committer | William Henrotin <whe@odoo.com> | 2020-02-04 15:07:12 +0000 |
| commit | 26be4a7bde1aab8733da232c9863e5b8f8e37a66 (patch) | |
| tree | d00f7fc3176d8571a90623710bf8cc2c3cd8fd56 /addons/timer/security/timer_security.xml | |
| parent | 6ff84799373056059ce5db6601ca98e30cd507a0 (diff) | |
[FIX] purchase_stock: confuse return move and move dest
Increasing the quantity on a purchase order line will create a stock
move with the delta quantity. In case the purchase order has a return
among its picking_ids, the delta will be wrong.
This is due to the fact a return move is considered like a move_dest
of the original incoming move. The delta quantity will be computed
from the return move which doens't make sense.
This commit excludes outgoing moves from move_dest to avoid taking
return move into account.
closes odoo/odoo#44551
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/timer/security/timer_security.xml')
0 files changed, 0 insertions, 0 deletions
