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

[ADD] mrp_minimum_quantity: implement Minimum Quantity in BoM #641

Draft
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

aych-odoo
Copy link

  • Added a new field minimum_qty to Bill of Materials (BoM) to define the minimum production quantity.
  • Enforced validation to ensure BoM quantity is not lower than the minimum quantity.
  • Restricted non-admin users from setting MO quantity below the minimum;
    admins(Manufacturing > Administrator) receive a warning instead.
  • Applied minimum quantity validation in manual and automatic replenishment processes, allowing only admins to override.
  • Ensured that if the auto-replenishment quantity is lower than the minimum defined in the BoM, it is automatically adjusted to meet the required minimum.
  • Passed Sales Order (SO) unit price to the related Purchase Order (PO) line in the Make-to-Order (MTO) process.
  • Added test cases for all functionalities.

…rice Sync

- Added a new field `minimum_qty` to Bill of Materials (BoM) to define
the minimum production quantity.
- Enforced validation to ensure BoM quantity is
not lower than the minimum quantity.
- Restricted non-admin users from setting MO quantity below the minimum;
admins receive a warning instead.
- Applied minimum quantity validation in manual and automatic replenishment
processes, allowing only admins to override.
- Ensured that if the auto-replenishment quantity is lower than the minimum
defined in the BoM, it is automatically adjusted to meet the required minimum.
- Passed Sales Order (SO) unit price to the related Purchase Order (PO) line
in the Make-to-Order (MTO) process.
- Added test cases for all functionalities.
@robodoo
Copy link

robodoo commented Mar 19, 2025

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants