[ADD] new_product_type: allow configurable kit products - #1432
Draft
abkus-odoo wants to merge 1 commit into
Draft
abkus-odoo wants to merge 1 commit into
abkus-odoo wants to merge 1 commit into
Conversation
Standard Odoo requires the Manufacturing (MRP) and Bill of Materials (BoM) modules to handle kit products. Users who only do trading or pure sales without manufacturing need a lightweight way to sell product bundles, manage their pricing dynamically, and control their visibility on invoices without overhead. WHAT: -Added a new product type for kits without requiring MRP dependencies. -Created a configuration wizard on sale order lines to manage kit items, quantities, and pricing before order confirmation. -Implemented parent-child relationships between sale order lines to link kit products with their sub-products. -Made sub-product lines readonly and protected them from direct deletion to maintain data integrity. -Updated sale order, portal, and invoice reports with a dedicated option to show or hide kit sub-products.
abkus-odoo
force-pushed
the
19.0-new-product-type-abkus
branch
from
September 17, 2026 04:59
1567af6 to
e9d5bc3
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.

Problem-
Certain products are retailed as unified commercial units despite consisting of several customizable sub-items. Handling these items using standard sales order lines creates challenges in preserving a unified total price while keeping the itemized breakdown necessary for accurate inventory fulfillment.
Solution-
Implement a custom Kit Product feature that enables items to be set up with designated sub-components.
When a kit item is inserted into a sales order, sales representatives can adjust component quantities and prices via an interactive wizard. These configured sub-items are then automatically generated as linked child order lines.
The total financial value of the bundle is retained on the primary parent line, whereas individual component lines are set to a zero unit price to ensure proper stock movement creation without double-billing.
To maintain system integrity, component lines are locked against direct editing on the sales order and can only be updated using the kit configuration tool.
An additional setting on the sales order allows toggling the visibility of sub-components on printed quotes, customer portal views, and invoices, giving teams the choice between an itemized or consolidated customer document.