New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMP] stock: Warning on Replenishing too much #97802
[IMP] stock: Warning on Replenishing too much #97802
Conversation
4a406e2
to
1aed730
Compare
14c5192
to
1dc24d8
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
d5ef169
to
629e645
Compare
cabdb81
to
4d1746d
Compare
4d1746d
to
a2b3280
Compare
a2b3280
to
b114a7f
Compare
9a3cff6
to
304d131
Compare
68e4f67
to
8001b08
Compare
655bf57
to
2fd302c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me. Still added a few nitpicks here and there, but nothing big.
You might want to update the PR message, since it doesn't seem to match the changes in the spec 😉
And while you're at it, you should mention the task in the PR & more importantly the commit
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
addons/sale_purchase_stock/tests/test_unwanted_replenish_flow.py
Outdated
Show resolved
Hide resolved
**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
560f2d6
to
ae62f97
Compare
robodoo r+ |
**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 #97802 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
Steps to reproduce :
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