OdooWiki OCA HUB

Product Packaging level purchasable

product_packaging_level_purchasable folder_open OCA/product-attribute open_in_new
Product License: AGPL-3

Control purchase of products via packaging settings.

It adds a "Purchaseable" flag to product packaging level and product packaging.

The creation/update of purchase order line will be blocked if the data on the purchase.order.line does not fit with the configuration of the product's packaging.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a 'Can be purchased' flag to packaging levels and packagings, and blocks using a packaging on a purchase order line when it is not marked as purchasable.

This module lets you decide which packagings are allowed on purchase orders. On each packaging level you get a new 'Can be purchased' checkbox (turned on by default), shown in the packaging level form and list views. Each packaging inherits this value from its packaging level, but you can still change it directly on the packaging itself.

When you build a purchase order, Odoo checks the packaging you pick on a purchase order line:

  • If the packaging is not marked as purchasable, a warning message appears as soon as you select it.
  • If you try to save the line anyway, Odoo raises a validation error naming the packaging and the product, and the line cannot be saved.
  • When Odoo automatically suggests a packaging based on the product, quantity and unit of measure, it skips packagings that are not purchasable.

This affects the product.packaging.level, product.packaging and purchase.order.line models, so the rule applies to purchase orders created by users or generated automatically. It does not change sales, inventory or delivery flows.

Depends on

Required by other modules

Models and fields (3)
  • product.packaging · extends an existing modelcan_be_purchased
  • purchase.order.line · extends an existing model
  • product.packaging.level · extends an existing modelpackaging_ids, can_be_purchased (Can be purchased)

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

OCA documentation · Odoo 16.0

Packaging level

* Can be purchased: set the packaging as purchaseable by default


Packaging
  • Can be purchased: override the default

No verified information in OCA: Installation, Usage.

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.