Files
odoo_source/addons/stock
Mathias Mathy (MAMA) 0ef8c4f01d [IMP] stock: Warning on Replenishing too much
**Steps to reproduce :**
- Create a Product A, with no stock and a 0 min 1 max manual reordering rule (no sales lead time, no purchase lead time)
- Sell 10 of A with a delivery scheduled today
- In Replenishment, create a PO for A, confirm it with reception scheduled today
- Reschedule reception of PO in 7 days

**Expected Behavior :**
The forecast icon is replaced by an orange warning icon.
When hovering the icon, the user is warned that replenishing can lead to an overstock.

**Current behavior :**
In Replenishment, Product A has a forecast of -10 and Qty to Order is set to 11.
When the user replenish A again, the PO is created and may lead to an overstock.

task : 2918947

closes odoo/odoo#97802

Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2023-04-22 00:51:59 +02:00
..
2023-03-29 23:36:56 +02:00