odoo/tutorials#1293
Created by Harshvardhan Bareth (habar)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 5s)
- ci/tutorial: (runtime 90s)
- label
- odoo-dev:19.0-new-product-types-habar
- head
- 9bc12801ba3653da632f040e00028d2929cbc461
| odoo/tutorials | |
|---|---|
| 19.0 | #1293 missing r+ |
| master |
[ADD] new_product_type: add configurable kit product support
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 MRP dependencies.
- Created a configuration wizard on sale order lines to manage kit items, quantities, and pricing before confirmation.
- Implemented parent-child relations between sale order lines to link kits with sub-products.
- Made sub-product lines readonly and protected them from direct deletion to ensure data integrity.
- Updated report logic (sale orders, portal, invoices) with a dedicated print option to show or hide sub-products.