Files
Odoo-Modules/fusion_plating
gsinghpal e762ee4b68 feat(fusion_plating): fp.work.centre bottleneck_score + avg_wait_minutes (P4.1)
Computes for the Manager At-Risk heatmap (Phase 4 tablet redesign).
Non-stored — recomputed on /fp/manager/at_risk read; that endpoint
caches its full payload for 60s so the cost is bounded.

  bottleneck_score = active_step_count * avg_wait_minutes
  avg_wait_minutes = rolling-7-day avg of (date_started - create_date)

Work centres with high score show red in the heatmap — combination
of queue length AND average wait time.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 22:16:37 -04:00
..
2026-04-20 13:07:15 -04:00
2026-04-26 15:05:17 -04:00
2026-05-18 22:33:23 -04:00
2026-05-21 03:37:25 -04:00
2026-05-22 18:01:31 -04:00
2026-05-10 10:25:12 -04:00
2026-05-21 04:47:45 -04:00
2026-05-21 03:37:25 -04:00
2026-04-28 19:39:37 -04:00
2026-05-22 18:01:31 -04:00
2026-04-28 19:39:37 -04:00
2026-04-28 19:39:37 -04:00
2026-04-28 19:39:37 -04:00
2026-05-17 03:20:33 -04:00
2026-05-22 18:01:31 -04:00
2026-05-21 21:00:10 -04:00
2026-04-24 21:04:38 -04:00
2026-05-21 03:37:25 -04:00
2026-05-21 21:00:10 -04:00
2026-04-20 01:16:12 -04:00
2026-04-16 20:53:53 -04:00