feat(fusion_plating_shopfloor): rewire menus to Shop Floor Landing (P3.5)
Plan task P3.5. Single 'Workstation' menu item replaces both the
legacy 'Tablet Station' and 'Plant Overview' entries. The new
fp_shopfloor_landing component has a Station/All-Plant toggle so
one menu covers both old surfaces.
Old action records redirected for back-compat (so existing bookmarks
+ smart-button references keep working):
action_fp_shopfloor_tablet tag → fp_shopfloor_landing
action_fp_plant_overview tag → fp_shopfloor_landing
params → {'mode': 'all_plant'}
The legacy OWL components (fp_shopfloor_tablet, fp_plant_overview)
remain registered — no code removed, just no menu points at them.
Phase 5 cleanup will remove the OWL components after a release of
soak time on entech.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,14 +26,12 @@
|
|||||||
sequence="3"
|
sequence="3"
|
||||||
groups="fusion_plating.group_fusion_plating_manager"/>
|
groups="fusion_plating.group_fusion_plating_manager"/>
|
||||||
|
|
||||||
<menuitem id="menu_fp_shopfloor_plant_overview"
|
<!-- Phase 3 tablet redesign — single Workstation menu entry replaces
|
||||||
name="Plant Overview"
|
the legacy "Tablet Station" + "Plant Overview" pair. The new
|
||||||
parent="menu_fp_shopfloor"
|
fp_shopfloor_landing component has a Station/All-Plant toggle
|
||||||
action="action_fp_plant_overview"
|
so one menu item covers both old surfaces. -->
|
||||||
sequence="5"/>
|
|
||||||
|
|
||||||
<menuitem id="menu_fp_shopfloor_tablet"
|
<menuitem id="menu_fp_shopfloor_tablet"
|
||||||
name="Tablet Station"
|
name="Workstation"
|
||||||
parent="menu_fp_shopfloor"
|
parent="menu_fp_shopfloor"
|
||||||
action="action_fp_shopfloor_tablet"
|
action="action_fp_shopfloor_tablet"
|
||||||
sequence="10"/>
|
sequence="10"/>
|
||||||
|
|||||||
@@ -7,11 +7,17 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<!-- Client action — Plant Overview Dashboard -->
|
<!-- Client action — was "Plant Overview" (fp_plant_overview). -->
|
||||||
|
<!-- Phase 3 tablet redesign retargets the tag at the new -->
|
||||||
|
<!-- fp_shopfloor_landing component (it has an "All Plant" mode that -->
|
||||||
|
<!-- supersedes the standalone plant overview). Old bookmarks keep -->
|
||||||
|
<!-- working; the legacy fp_plant_overview OWL component is still -->
|
||||||
|
<!-- registered. Menu entry removed in fp_menu.xml. -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<record id="action_fp_plant_overview" model="ir.actions.client">
|
<record id="action_fp_plant_overview" model="ir.actions.client">
|
||||||
<field name="name">Plant Overview</field>
|
<field name="name">Plant Overview</field>
|
||||||
<field name="tag">fp_plant_overview</field>
|
<field name="tag">fp_shopfloor_landing</field>
|
||||||
|
<field name="params" eval="{'mode': 'all_plant'}"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
|
|||||||
@@ -89,11 +89,15 @@
|
|||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<!-- Client action that launches the OWL tablet component -->
|
<!-- Client action — was "Tablet Station" (fp_shopfloor_tablet). -->
|
||||||
|
<!-- Phase 3 tablet redesign retargets the tag at the new -->
|
||||||
|
<!-- fp_shopfloor_landing component so old bookmarks keep working. -->
|
||||||
|
<!-- The legacy fp_shopfloor_tablet OWL component is still registered -->
|
||||||
|
<!-- (no code removed) but no menu points at it anymore. -->
|
||||||
<!-- ================================================================== -->
|
<!-- ================================================================== -->
|
||||||
<record id="action_fp_shopfloor_tablet" model="ir.actions.client">
|
<record id="action_fp_shopfloor_tablet" model="ir.actions.client">
|
||||||
<field name="name">Tablet Station</field>
|
<field name="name">Shop Floor</field>
|
||||||
<field name="tag">fp_shopfloor_tablet</field>
|
<field name="tag">fp_shopfloor_landing</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user