diff options
| author | Goffin Simon <sig@odoo.com> | 2017-02-15 14:10:33 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-02-16 16:58:49 +0100 |
| commit | 40507c4ad9edbbd99e9461b966b3d676c83502a6 (patch) | |
| tree | caa6a960bdf29558bf997125b63b666dafbf1184 /doc/reference | |
| parent | a2cf865dfe7b83ba610780da4b078c026c5e262e (diff) | |
[FIX] purchase: null stock_moves creation
Backport of 1f6ec2b8d65279ca6a5259ee91d098dc4d1a71f2
When the quantity of a purchase order line is manually decreased and if
the purchase order line as been generated by more than one procurement.
If the new quantity is lower than the quantity of the smallest
procurement, it is impossible to validate the picking containg the
stock_moves created by the purchase order validation.
It is impossible to validate the picking, because it contains
stock_moves with 'product_qty' set to 0. Those stock_moves are generated
during the validation of a purchase order.
To fix this issue, we avoid the creation of stock moves with a
'product_qty' set to 0 which has no sense.
opw:708099
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
