Sales Product Set Sell only by packaging
Glue module between sell_only_by_packaging and sale_product_set_packaging_qty. If sell_only_by_packaging is ON and there are product set lines without packaging selected, a warning is displayed in the product form and quick link to all involved lines allows to review them.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When a product can only be sold by packaging, this module warns you if product set lines for that product have no packaging, and a scheduled job automatically assigns the first valid packaging to those lines.
This module connects two existing features: products that can only be sold by packaging and product sets (wishlists) that include packaging quantities. It adds a safety check so product set lines always have a packaging when the product requires one.
On the product form, when a product is marked as sellable only by packaging, a warning appears if any product set lines for that product have no packaging. The warning includes a "View all lines" button that opens the list of those lines so you can review and fix them.
On product set lines, the packaging field becomes required when the product is set to sell only by packaging. If you try to save a line without a packaging for such a product, Odoo blocks it with an error listing the affected products.
A scheduled job runs every 30 minutes. It looks for product set lines where the packaging is no longer for sale, or where the product requires packaging but no packaging is set. For each affected product, it assigns the first saleable packaging (the one with the smallest quantity) and sets the packaging quantity to 1. If no valid packaging exists, it logs an error instead.
The module touches product.template, product.product, and product.set.line. It adds a list and search view for product set lines, and a menu action to view lines that need checking.
Models and fields (3)
- product.product · extends an existing model
- product.set.line · extends an existing modelsell_only_by_packaging
- product.template · extends an existing modelsell_only_by_packaging_prod_set_tocheck
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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/sale-workflow.
terminal Installation and usage
No verified informationInstallation 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.