Product Packaging level salable
The creation/update of sale order line will be blocked (by constraints) if the data on the sale.order.line does not fit with the configuration of the product's packagings.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a 'Can be sold' flag on packaging levels so you can decide which packagings are allowed on sales orders. Odoo blocks or clears packagings that are not marked as sellable.
This module lets you control which packagings may be used when selling products. On each packaging level you get a new 'Can be sold' checkbox, shown both in the form and in the list of packaging levels.
- When a packaging level is marked as sellable, every packaging attached to that level is automatically flagged as usable for sales. If you change the level, the packaging flag follows it, but you can still adjust it manually on the packaging itself.
- On a sales order line, if you pick a packaging that is not marked as sellable, Odoo raises an error and refuses to save the line, telling you the packaging must be set as 'Sales' to be used on a sale order.
- When Odoo automatically suggests a packaging on a sales order line (based on the product, quantity and unit of measure), it will skip packagings that are not sellable and leave the field empty instead.
The module touches product.packaging.level, product.packaging and sale.order.line. It builds on the packaging level and sales/stock features already installed.
Depends on
Required by other modules
Models and fields (3)
- sale.order.line · extends an existing model
- product.packaging · extends an existing modelsales
- product.packaging.level · extends an existing modelcan_be_sold (Can be sold), packaging_ids
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0This module allows odoo users to set:
- Can be sold: On product packaging level model, this checkbox defines if product packagings from this particular type are available to be selected on sale order line.
No verified information in OCA: Installation, Usage.
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.