Files
Odoo-Modules/fusion_plating/fusion_plating_safety
gsinghpal 8eb2c2de95 refactor(plating-sec): sweep all ACL CSVs to new role group xmlids
Phase B of permissions overhaul. Mechanical text replacement across
11 ir.model.access.csv files:
  - group_fusion_plating_operator    -> fusion_plating.group_fp_technician
  - group_fusion_plating_supervisor  -> fusion_plating.group_fp_shop_manager_v2
  - group_fusion_plating_manager     -> fusion_plating.group_fp_manager
  - group_fusion_plating_admin       -> fusion_plating.group_fp_owner
  - group_fp_estimator (configurator)-> fusion_plating.group_fp_sales_rep
  - group_fp_accounting              -> fusion_plating.group_fp_manager
  - group_fp_receiving               -> fusion_plating.group_fp_shop_manager_v2
  - group_fp_shop_manager (legacy)   -> fusion_plating.group_fp_manager
  - group_fusion_plating_cgp_officer -> fusion_plating.group_fp_quality_manager
  - group_fusion_plating_cgp_designated_official -> fusion_plating.group_fp_owner

Backward-compat: old group xmlids still resolve (Phase A's implied_ids
chains keep old ACLs working for users still holding old groups).
This sweep ensures future-state correctness: when old groups are deleted
after the 30-day rollback window, ACLs continue resolving via the new
group xmlids.

Also adds fusion_plating/tests/test_acl_migration.py with sample-based
per-role access checks. The 2 CAPA tests are expected to fail until
Phase C implements the Manager/QM quality split.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 01:14:02 -04:00
..
2026-04-28 19:39:37 -04:00
2026-04-28 19:39:37 -04:00
2026-04-16 20:53:53 -04:00
2026-04-16 20:53:53 -04:00
2026-04-16 20:53:53 -04:00

Fusion Plating — Safety (EHS)

Part of the Fusion Plating product family by Nexa Systems Inc.

This add-on layers a process-agnostic Environmental, Health and Safety workspace on top of fusion_plating. It gives a plating shop a single place to manage day-to-day occupational health and safety obligations without depending on any jurisdiction-specific regulatory pack.

Workspaces

Workspace Purpose
SDS Library Safety Data Sheet repository with version, hazard class, GHS pictograms, language, expiry tracking, and PDF attachment.
Chemical Inventory Physical chemical containers with storage location, on-hand quantity, reorder point, and incompatibility relations.
Training Records Per-employee training completions with auto-computed expiry and current/expiring/expired status.
Training Types Master catalogue of training courses (WHMIS, TDG, first-aid, LOTO, confined space, etc.) with validity windows.
Exposure Monitoring Air, biological, noise, and vibration sampling events with OEL reference and percent-of-limit.
JHSC Joint Health & Safety Committee with worker and management reps, plus a meeting register.
Incident Register Injury, near-miss, first-aid, lost-time, medical, property-damage, and environmental events with investigation, root cause, corrective action, and WSIB Form 7 flagging.
PPE Issuance Per-employee PPE issuance log with replacement scheduling.

Installation

This module depends on fusion_plating, hr, and product.

docker exec odoo-dev-app odoo -d fusion-dev -u fusion_plating_safety --stop-after-init

Conventions

  • All field names on extended base Odoo models use the x_fc_ prefix.
  • Security groups are reused from fusion_plating (Operator / Supervisor / Manager).
  • All copy is Canadian English.
  • Theme-aware SCSS uses CSS variables only — no hex colours.

Copyright (c) 2026 Nexa Systems Inc. All rights reserved. License: OPL-1 (Odoo Proprietary License v1.0)