odoo/tutorials#924

Created by Piyush Soni (piso)

Blocked

label
odoo-dev:18.0-new_product_type-piso
head
cfb15759eb48cd3ab19630a7d46f645c121511d8
odoo/tutorials
18.0 #924 missing r+
master

[ADD] product_kit_type: introduce kit product type with subproduct handling in Sales Orders

Description

This PR introduces the product_kit_type module, which adds a new Kit product type to manage grouped products in Sales Orders.

Key Features

  • New Product Type: Kit
  • Added is_kit option in the product form view.
  • Allows selection of subproducts when a product is defined as a kit.

  • Sales Order Integration

  • When a kit product is added to a sales order, a button appears next to the product line.
  • Clicking the button opens a wizard where the user can:
    • Set quantities and prices for each subproduct
    • Confirm selection to automatically add subproduct lines to the order (readonly)
    • Update the main kit product’s price based on the values set in the wizard

  • Document & Customer Portal Options

  • Sales Orders include a setting to enable or disable printing of subproduct lines.
  • The setting controls visibility in both:
    • Customer invoices
    • Customer portal order preview