odoo/tutorials#1432
Created by Abhishek Kushwah (abkus)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 0s)
- ci/tutorial: (runtime 87s)
- label
- odoo-dev:19.0-new-product-type-abkus
- head
- e9d5bc3c4221f6e143b0ffd0b07993bc64ccb710
| odoo/tutorials | |
|---|---|
| 19.0 | #1432 ci/style missing r+ |
| master |
[ADD] new_product_type: allow configurable kit products
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.