Files
Odoo-Modules/fusion_plating/fusion_plating/views/fp_jobs_menu.xml
gsinghpal afcd128f83 fix: rename ambiguous 'Work Center' / 'Work Centres' menus
Two distinct entities were both labelled 'Work Centre' (US/UK spelling
the only differentiator — confusing). Renamed by purpose, model IDs
unchanged so all 12+9 existing cross-refs keep working:

fusion.plating.work.center → 'Production Line'
  Physical shop-layout grouping that owns tanks. Examples: 'Line 1 —
  EN', 'Anodize Line', 'Prep Bay'. Has tank_ids (O2M),
  supported_process_ids (M2M), capacity_per_day. The thing tanks live
  in.

fp.work.centre → 'Routing Station'
  Per-job-step routing entity (post-Sub-11 mrp.workcenter replacement).
  Has 'kind' selection (wet_line / bake / mask / rack / inspect),
  cost_per_hour for fp.job.step rollup, default_bath_id +
  default_tank_id for release-ready validation. The thing a job step
  routes through.

Conceptually a Production Line CONTAINS many Routing Stations (e.g.
'EN Line' production line has wet-line, bake, inspect routing
stations on it).

Updated:
- _description on both models
- string= on the name fields
- list/form/search view strings
- act_window names ('Production Lines' / 'Routing Stations')
- menu items in fp_menu.xml + fp_jobs_menu.xml
- doc comments in both model files explaining the distinction

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 22:55:39 -04:00

23 lines
1011 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Native job model — admin/manager menus.
"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).
Routing Stations stays in core (under Configuration → Shop Setup).
Note: this is the per-step routing entity (fp.work.centre,
post-Sub-11 mrp.workcenter replacement) — distinct from the
shop-layout 'Production Lines' (fusion.plating.work.center)
that group tanks. Routing Stations are kind-aware (wet_line /
bake / mask / rack / inspect) and carry cost_per_hour. -->
<menuitem id="menu_fp_jobs_work_centres"
name="Routing Stations"
parent="menu_fp_config_shop_setup"
action="action_fp_work_centre"
sequence="25"
groups="fusion_plating.group_fusion_plating_manager"/>
</odoo>