📋 Description
View customization for MRP routing work center operations, changing time cycle display from mm:ss to hh:mm:ss format and updating headers from "Duration(minutes)" to "Duration" for improved clarity.
🎯 Business Challenge
Van Thiel's manufacturing operations span multiple hours, but Odoo displayed operation durations in mm:ss format:
- Confusion between minutes and hours in mm:ss format
- Header "Duration(minutes)" was misleading for hour-long operations
- Production engineers needed hh:mm:ss for accurate time tracking
- Inconsistency with actual shop floor time reporting
💡 Solution Approach
Matthias customized the work center operation views:
- Time Format Change: Updated widget to display hh:mm:ss
- Header Correction: Changed "Duration(minutes)" to "Duration"
- Tree View Update: Applied changes to list view
- Form View Update: Consistent formatting in detail view
🔧 Technical Implementation
View inheritance for MRP routing work center:
- Extends
mrp.routing.workcentertree and form views - XPath replacements update field widgets and labels
- Custom XML views in
views/directory - No model changes - pure view customization
📊 Results & Impact
Production engineers immediately understood operation durations. Time entry errors decreased. Consistency with shop floor reporting improved scheduling accuracy.