The (Native) suffix was a temporary distinguisher during parallel coexistence with bridge_mrp. Now that fp.job is THE primary system, the suffix is just noise. Removed across all 5 menus and both client-action labels. Also restructured the Jobs submenu under Plating: - Renamed root from 'Plating Jobs (Native)' (seq=4, manager-only) to just 'Jobs' (seq=2, operator-visible). Now appears right below the Plating app header — first-click access for operators. - All Jobs (was 'Jobs') at seq=20 - Tablet Station at seq=5 (operator entry point) - Plant Overview at seq=10 - Manager Dashboard at seq=15 (supervisor+ only) - Steps (renamed from 'Steps (Admin)') at seq=30 (supervisor+ only) - Work Centres (was 'Work Centres (Native)') in Configuration Hidden one more legacy menu: bridge_mrp's 'Production Priorities' (mrp.workorder ordering UI — fp.job has its own priority field). Manifest unchanged (no new files); skipping version bump. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<odoo>
|
|
<!--
|
|
Phase 6 — operator-facing client actions for the native job model.
|
|
|
|
Plant Overview kanban: columns = fp.work.centre, cards = fp.job.step
|
|
Manager Dashboard: list of in-flight fp.job rows, by state
|
|
|
|
Menu items live here (not in fusion_plating core's fp_jobs_menu.xml)
|
|
because the action records they reference are defined in this
|
|
module — and fusion_plating_jobs is loaded AFTER core, so the
|
|
XML ids don't exist yet at the time core's menu file is parsed.
|
|
-->
|
|
<record id="action_job_plant_overview" model="ir.actions.client">
|
|
<field name="name">Plant Overview</field>
|
|
<field name="tag">fp_job_plant_overview</field>
|
|
</record>
|
|
|
|
<record id="action_job_manager_dashboard" model="ir.actions.client">
|
|
<field name="name">Manager Dashboard</field>
|
|
<field name="tag">fp_job_manager_dashboard</field>
|
|
</record>
|
|
|
|
<menuitem id="menu_fp_jobs_plant_overview"
|
|
name="Plant Overview"
|
|
parent="fusion_plating.menu_fp_jobs_native_root"
|
|
action="action_job_plant_overview"
|
|
sequence="10"/>
|
|
|
|
<menuitem id="menu_fp_jobs_manager_dashboard"
|
|
name="Manager Dashboard"
|
|
parent="fusion_plating.menu_fp_jobs_native_root"
|
|
action="action_job_manager_dashboard"
|
|
sequence="15"
|
|
groups="fusion_plating.group_fusion_plating_supervisor"/>
|
|
</odoo>
|