OdooWiki OCA HUB

Sale Stock Product Pack

sale_stock_product_pack folder_open OCA/product-pack open_in_new
Sale License: AGPL-3

This modules adds compatibility of product packs with sales and stock altogether:

  • Correctly compute delivered quantities for the different types of packs so they can be properly invoiced when the pack is storable.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Makes product packs that are storable products work correctly in sales and stock, so the delivered quantity of a pack is calculated from its components and can be invoiced properly.

This module is a compatibility bridge between product packs, sales and inventory. It does not add new screens or menus; it changes how Odoo calculates quantities behind the scenes.

When a sales order line is a pack (a product made of several components), Odoo normally tracks how much has been delivered. This module recalculates the delivered quantity of the main pack line based on how much of each component has actually been delivered. It looks at every component line that has a quantity ordered, works out how many complete packs those deliveries represent, and sets the pack's delivered quantity to the smallest number found. If any component has not been delivered at all, the pack is considered not delivered.

It also adjusts how stock moves are grouped for pack components. When a stock move is linked to a sales order line that belongs to a pack, the grouping key includes the pack's parent line, so components of different packs are not mixed together in inventory reports and operations.

This affects the sale.order.line and stock.move.line models. The result is that delivered quantities for storable packs are accurate, which matters for invoicing based on delivered quantities and for keeping stock records consistent.

Models and fields (2)
  • sale.order.line · extends an existing model
  • stock.move.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/product-pack.

terminal Installation and usage

No verified information

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.

info

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.