odoo/tutorials#1269
Created by Soham Yashwant Patil (sopat)
Blocked
- Merge method
- Review
-
CI
- ci/style: (runtime 12s)
- ci/tutorial: (runtime 140s)
- label
- odoo-dev:19.0-bom-forecast-sopat
- head
- b87a1d1555cb5b11522f1a255db8599a9d6cc36c
| odoo/tutorials | |
|---|---|
| 19.0 | #1269 missing r+ |
| master |
19.0 bom forecast sopat
Introduce a custom module that improves the BOM Overview
forecast view for cleaner status display.
WHY this change is being done:
Currently, the BOM Overview shows Estimated badge for both
main product and sub-components without distinction, making
it hard to differentiate availability status at each level.
Technical decisions taken:
1. Inherited report.mrp.report_bom_structure to add
status field with producible qty at level 0.
2. Used patch() on BomOverviewLine to add statusBackgroundColor
and statusDisplay getters for dynamic badge styling.
3. Replaced Estimated text with Expected for sub-components
(level > 0) to clearly distinguish from main product.
4. All status badges are clickable and lead to product
forecast report for quick navigation.
5. Removed redundant Availability column to keep the
view clean and focused on Status column.
Task ID- 6213345