This module allows to transmit the product packaging from the procurement values to the generated purchase order line
auto_awesome What this module does
AI-generated from the code · Odoo 19.0When Odoo automatically creates a purchase order line from a stock need, this module keeps the product packaging chosen in the procurement, so the order line uses the packaging's unit of measure and quantity instead of the base unit.
This module changes how purchase order lines are generated automatically from stock replenishment needs (for example when a reordering rule or a manufacturing order triggers a purchase).
- If the stock need carries a packaging (a predefined pack size such as a box or a pallet), the generated purchase order line is created with that packaging's unit of measure instead of the product's default unit.
- The ordered quantity is converted into that packaging unit, so the buyer sees the quantity in packs rather than in single units.
- The unit price is also converted to the packaging unit, so the price stays consistent with the new unit of measure.
- If no packaging is present in the stock need, or the line already uses the same unit, nothing changes.
It works silently in the background: there is no new menu, screen or button. Users simply notice that purchase orders created automatically from stock needs show the packaging unit and the matching quantity and price. It touches the purchase order line model (purchase.order.line) and relies on the purchase and stock integration (purchase_stock).
Depends on
Models and fields (1)
- purchase.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/purchase-workflow.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0- For instance, create a sale order with a route that trigger make to order stock rules (and a purchase order).
- On that sale order, force using a product packaging that would not be the default one for the filled in qunatity.
- The purchase order line created should use the same product packaging.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.