Skip to content
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

Stock Replenishment feature does not take into account minimum order qauntity #9561

Closed
Gregory92 opened this issue Sep 18, 2018 · 0 comments
Closed
Labels
hacktoberfest This is a good issue to try make your first PR if you don't know very well the project hacktoberfest-accepted This is added to a PR accepted for the hacktoberfest session (Flag added by core team only)

Comments

@Gregory92
Copy link

Bug

When using the Stock replenishment feature, it suggests order amounts less than the "minimum" order amount for the product to satisfy desired optimal stock. For example, I have a product with a minimum order qty. of 12, a desired optimal stock of 24, and a stock alert limit of 12. Performed a stock correction to bring the number of products to 10. When using the replenishment feature, in addition to the 13 units already on the way (virtual stock), it suggests to order 1 unit to get us back to a total of 24 units, but this value is below the minimum order qty. When I try to place an order manually, dolibarr DOES correctly prevent orders of less than 12 units of this product.

Environment

  • **Version 8.0.0
  • OS:OpenSuse Leap 15.0
  • Web server: Apache2.4
  • PHP: 7.2.5
  • Database:MariaDB 5.5.5-10.2.15-MariaDB
  • URL(s): NA

Expected and actual behavior

When using the stock replenishment feature, to not have it suggest order quantity less than the minimum order amount, even if this means going over the desired optimal stock.

Steps to reproduce the behavior

Use the stock replenishment feature to "re-stock" warehouse with products that have a minimum order quantity that is less than the number of units to get back to the desired optimal stock.

@atm-maxime atm-maxime added the hacktoberfest This is a good issue to try make your first PR if you don't know very well the project label Oct 6, 2018
eldy added a commit that referenced this issue Oct 30, 2018
FIX replenish wasn't caring about supplier price min quantity #9561
@eldy eldy added the hacktoberfest-accepted This is added to a PR accepted for the hacktoberfest session (Flag added by core team only) label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest This is a good issue to try make your first PR if you don't know very well the project hacktoberfest-accepted This is added to a PR accepted for the hacktoberfest session (Flag added by core team only)
Projects
None yet
Development

No branches or pull requests

3 participants