diff options
| author | amoyaux <arm@odoo.com> | 2017-08-25 13:18:45 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-08-30 11:34:20 +0200 |
| commit | de6a50e984b6da4b1023d9d3a74923c76c2587d0 (patch) | |
| tree | e0d42dc64a50f50cba69506383cda7d30f6da0f5 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 72dcb2eb912d56252095d5c944c6cbe12d67df97 (diff) | |
[IMP] stock: modify move initial demand should not always unsreserve
Write method on stock move always unreserve concerning move if
initial demand is modified. Unreserve will delete all move lines
linked to the move including those already modified.
Thus modify initial demand(unreserve) will destroy all the
job done by the user.
This commit will only unreserve move is the initial demand
is smaller than the quantity reserved (could be improved by dropping
only few move lines). If the initial demand is greater than the
reserved quantity it will not unreserve but only change the
state to partially avaialbe.
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
