summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-09-12 14:47:15 +0200
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2018-09-13 11:52:15 +0200
commit52c89adef7f49a2e12e9a4f6f9f45844bff964da (patch)
tree5f0db1213fb931a0176be8c83e240a50a785ad7a /addons/web/static/src/js/fields
parentdee5ce3be14cac5510c8b723ba2492b1b701a934 (diff)
[FIX] sale_stock, stock_dropshipping: ordered qty
- Set a vendor on Product A - Create a SO with 1 Unit of A, set the Drop Ship route - Confirm the SO => a PO with 1 Unit is created - Change the oredered quantity to 2 The PO is updated with a total quantity of 3 instead of 2. Since the removal of procurements, the quantity is computed based on the stock moves. However, in this case, no stock move has been created since the PO is not yet confirmed. In this specific case, we fall back on the PO line quantity. The logic is similar to `_quantity_in_progress`. opw-1879118
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions