diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-01-17 16:18:16 +0100 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-01-18 11:45:26 +0100 |
| commit | 1f6ec2b8d65279ca6a5259ee91d098dc4d1a71f2 (patch) | |
| tree | 22953a430ca85923d75b5c85dce0abb6e1261187 /addons/web/static/src/js/framework/data.js | |
| parent | 3efc16e9a0c4e83c286fa2a666134455de17cffb (diff) | |
[FIX] purchase: null stock_moves creation
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.
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
