diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-03-19 10:30:34 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-03-19 11:50:46 +0000 |
| commit | 68860fcc9d5fc201017ca910577620e9d833c2c3 (patch) | |
| tree | 28012c83348b76647f377ca4870b0efa2e7c6d5d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 716ff76d5e639654171a8795461282f3e80a74dc (diff) | |
[FIX] stock_dropshipping: modify SO
- Create a SO with a dropship product, set a qty of 1.0
- Validate the SO
- Validate the corresponding PO
- Change the qty to the SO to 2.0
2 PO are created: the first one with a qty of 1.0, another with a qty of
3.0.
There is an overlap of functionality between:
- `_purchase_increase_ordered_qty` from `sale_purchase` (first PO)
- `_action_launch_stock_rule` from `sale_stock` (second PO)
The quantity is incorrectly computed since the quantity on the PO is
taken into account only if the no stock move exist.
We remove the latter condition, so the procurement quantity is computed
correctly.
opw-1950076
closes odoo/odoo#31963
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
