diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-05-31 13:09:03 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-05-31 13:19:15 +0000 |
| commit | dea93a683b2d827d1cd26f754524cee0406e2d71 (patch) | |
| tree | 08913cc8965d8dc5095ed9f3ab33da1f45c84f4b /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 0799742d053354dfa8a0c7e28d1eaba8a205956a (diff) | |
[FIX] purchase: orderpoint on existing PO
- Create product A:
Reordering rule of 5 units
Set a vendor V
- Create a SO with 1 unit of A
- Create a PO with 1 unit of A for vendor V
- Run the scheduler => the PO contains 6 units
- Run the scheduler => the PO contains 12 units
The PO should not be updated the second time the scheduler is run.
It occurs because the `orderpoint_id` is not set on the PO line, while
the `_quantity_in_progress` method searches for PO lines with the
orderpoint set.
opw-2000962
closes odoo/odoo#33798
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
