[ADD] product_kit: add kit product management with sale order integration and configuration wizard#1350
Draft
vivah-odoo wants to merge 1 commit into
Draft
Conversation
Add 'is_kit' boolean and product.kit.line model to define kit components on product templates. Include form view with is_kit toggle, Kit Components stat button, and notebook page. Add kit_line_ids/parent_kit_line_id on sale.order.line with unlink cascade. Override action_confirm to explode kits into component lines. Add gear icon on order lines for kit products. Add TransientModel wizard to configure kit component quantities and prices on sale order lines. Pre-populates from kit definition and converts parent line to section header on confirm.
660c2c7 to
02b8cf3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Purpose
This module allows users to define products as kits composed of multiple
component products. When added to a sale order, kits can be configured
via a wizard (quantities/prices per component) and automatically explode
into component lines upon order confirmation.
Task
Create a product_kit module under tutorials/ with the following structure:
form (Configure Kit gear icon on lines), wizard form
What Was Done
How It Works
Dependencies
Compatibility