refactor(menus): collapse separate Jobs submenu into Shop Floor
Move 'All Jobs' and 'Steps' under fusion_plating_shopfloor's
existing 'Shop Floor' submenu (between Tablet Station and Bake
Windows). The standalone 'Jobs' parent menu is gone — it was
redundant once the operator UIs (Plant Overview / Tablet /
Manager Desk) consolidated under Shop Floor.
Final structure under Plating:
Sales / *
Configurator / *
Shop Floor
Manager Desk
Plant Overview
Tablet Station
All Jobs ← moved here (seq 15)
Steps ← moved here (seq 17, supervisor+)
Bake Windows
First-Piece Gates
Receiving & Inspection
Operations / *
Configuration → Work Centres (manager)
...rest
Work Centres stays under Configuration (no shopfloor equivalent).
New menu file lives in fusion_plating_jobs/views (jobs depends on
shopfloor; core can't reference shopfloor xmlids).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,28 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<odoo>
|
||||
<!-- Native job model menus, top of the Plating app. Sequence 2
|
||||
puts this right after the (currently unbuilt) dashboard slot
|
||||
and before Sales — operators and managers reach Jobs in one
|
||||
click. -->
|
||||
<!-- Native job model — admin/manager menus.
|
||||
|
||||
<menuitem id="menu_fp_jobs_native_root"
|
||||
name="Jobs"
|
||||
parent="menu_fp_root"
|
||||
sequence="2"
|
||||
groups="fusion_plating.group_fusion_plating_operator"/>
|
||||
|
||||
<menuitem id="menu_fp_jobs_jobs"
|
||||
name="All Jobs"
|
||||
parent="menu_fp_jobs_native_root"
|
||||
action="action_fp_job"
|
||||
sequence="20"/>
|
||||
|
||||
<menuitem id="menu_fp_jobs_steps"
|
||||
name="Steps"
|
||||
parent="menu_fp_jobs_native_root"
|
||||
action="action_fp_job_step"
|
||||
sequence="30"
|
||||
groups="fusion_plating.group_fusion_plating_supervisor"/>
|
||||
"All Jobs" and "Steps" used to live under a separate "Jobs"
|
||||
submenu but the user moved them under Shop Floor instead
|
||||
(see fusion_plating_jobs/views/jobs_in_shopfloor_menu.xml).
|
||||
Only Work Centres stays in core (under Configuration). -->
|
||||
|
||||
<menuitem id="menu_fp_jobs_work_centres"
|
||||
name="Work Centres"
|
||||
|
||||
Reference in New Issue
Block a user