diff options
| author | Arnold Moyaux <arm@odoo.com> | 2019-01-30 14:58:52 +0000 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2019-02-14 10:19:21 +0000 |
| commit | 8c769cb40cc87aca88048f6665a2124e679034bb (patch) | |
| tree | 2a1e2d340ac40c29fa3a3f1bc02bcee89bc7a89a /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | a2a6b099a4c1c99f4aa9e741442944e588a8f048 (diff) | |
[FIX] purchase_stock: _run_buy check supplier qty
Usecase to reproduce:
- Product with routes MTO and BUY
- Add a supplier on a product with a min qty of 5
- Create a SO with a qty of 1
A PO is created with the supplier and a quantity of 1. It should return
an error since there is no suppliers that sell with this quantity.
It happens because _run_buy directly use the suppliers on the product
without check for date and minimal quantity.
This commit replace it by _select_seller that manage every details.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
