Skip to content

[ADD] sale_product_kit: introduce configurable kit products#1318

Draft
aykhu-odoo wants to merge 1 commit into
odoo:19.0from
odoo-dev:19.0-new-product-type-aykhu
Draft

[ADD] sale_product_kit: introduce configurable kit products#1318
aykhu-odoo wants to merge 1 commit into
odoo:19.0from
odoo-dev:19.0-new-product-type-aykhu

Conversation

@aykhu-odoo
Copy link
Copy Markdown

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.

@robodoo
Copy link
Copy Markdown

robodoo commented Jun 3, 2026

Pull request status dashboard

@aykhu-odoo aykhu-odoo force-pushed the 19.0-new-product-type-aykhu branch from 15807cf to 0842422 Compare June 4, 2026 09:06
Some products are sold as a single item but consist of multiple
components whose quantities and prices may vary from one order to
another. Managing these components as regular sale order lines makes it
difficult to keep a single commercial price while still retaining the
component details required for stock operations.

This module introduces a kit product type with configurable
sub-products. When a kit is added to a sale order, users can configure
the quantity and pricing of each component through a dedicated wizard.

The kit is represented by a parent sale order line, while its
components are stored as linked child lines. Component prices are
aggregated on the parent line, whereas child lines are created with a
zero sales price and are retained to generate the required stock moves.

To keep kit data consistent, component lines cannot be modified
directly from the sale order. Changes must be performed through the kit
configuration wizard, ensuring that parent and child line values remain
synchronized.

Different businesses may prefer to expose either the kit breakdown or
only the final commercial product to customers. A print option is added
on the sale order to control whether kit components are displayed on
sale order, portal, and invoice reports.
@aykhu-odoo aykhu-odoo force-pushed the 19.0-new-product-type-aykhu branch from 0842422 to 05b34a1 Compare June 4, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants