odoo/tutorials#1318
Created by Ayush Khubchandani (aykhu)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 10s)
- ci/tutorial: (runtime 178s)
- label
- odoo-dev:19.0-new-product-type-aykhu
- head
- 05b34a14324c902e170440762a687a42dd795824
| odoo/tutorials | |
|---|---|
| 19.0 | #1318 missing r+ |
| master |
[ADD] sale_product_kit: introduce configurable kit products
Problem
Some products are sold as a single commercial item while being composed of multiple configurable components. Managing such products through regular sale order lines makes it difficult to maintain a single sales price while still retaining the component information required for stock operations.
Solution
-
Introduce a new Kit Product type that allows products to be configured with predefined sub-products.
-
When a kit product is added to a sale order, users can configure the quantity and pricing of each component through a dedicated wizard. The configured components are automatically created as linked child sale order lines.
-
The commercial value of the kit is stored on the parent line, while component lines are created with a zero sales price and retained to generate the required stock moves.
-
To ensure data consistency, kit component lines cannot be modified directly from the sale order and must be managed through the kit configurator.
-
A new option is also added on the sale order to control whether kit components should be displayed on quotations, portal views, and invoices, allowing users to choose between a summarized or detailed customer-facing document.