f990f290197f72d643ef87d6669d73161178e2d5
The Plating Jobs list was sorted priority-desc, deadline-asc, id-desc — which mixed Done (closed) jobs in with Confirmed (open) jobs and made the list look chaotic to managers. Done jobs from weeks ago surfaced above active work. Two changes: 1. New stored compute fp.job.state_priority (Integer, indexed) ranks states by managerial relevance: in_progress=0, confirmed=1, draft=2, on_hold=3, done=4, cancelled=5. _order now leads with state_priority asc, then priority desc, then date_deadline asc, then id desc. Active work bubbles to the top automatically. 2. Plating Jobs action defaults to a new 'Open' filter (state not in done, cancelled). Managers see only active work by default; they untick the filter to see history. Added On Hold + Cancelled filters too for full state coverage. Verified on entech: top 10 jobs are now all in_progress, sorted by deadline ascending. Existing 26-row list goes from chaotic to focused. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
Odoo 19 custom modules
Languages
Python
55.9%
HTML
26.1%
JavaScript
14.9%
SCSS
1.8%
CSS
0.8%
Other
0.4%