odoo/tutorials#641
Created by Ayush Chauhan (aych)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 0s)
- ci/tutorial: (runtime 91s)
- label
- odoo-dev:18.0-mrp-minimum-quantity-aych
- head
- 4edc0769b36b85ba8d2b02b64e348b460a162237
odoo/tutorials | |
---|---|
18.0 | #641 missing r+ |
master |
[ADD] mrp_minimum_quantity: implement Minimum Quantity in BoM
- 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.