Skip to content

Conversation

piso-odoo
Copy link

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

@robodoo
Copy link

robodoo commented Aug 18, 2025

Pull request status dashboard

@piso-odoo piso-odoo force-pushed the 18.0-new_product_type-piso branch 2 times, most recently from b68c712 to cc7b6e5 Compare August 18, 2025 12:04
…ndling in SO

- Added new product type **Kit** (`is_kit`) in product form view with option to select subproducts
- When a kit product is added to a Sales Order:
  • A button appears next to the product line to open a wizard
  • Wizard allows setting quantity and price for each subproduct
  • On save, subproduct lines are added to the SO as readonly order lines
  • Main kit product price is updated based on wizard values

- Added option in Sales Orders to enable/disable printing of subproduct lines:
  • Affects customer invoice printing
  • Affects customer portal preview
@piso-odoo piso-odoo force-pushed the 18.0-new_product_type-piso branch from cc7b6e5 to cfb1575 Compare August 18, 2025 12:11
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