Files
Odoo-Modules/fusion_plating/fusion_plating_kpi/__manifest__.py
gsinghpal 5f6c7af2a7 feat(phase3): tighten group-gating on operator-irrelevant top-levels
Three targeted gates so operators no longer see admin/audit views:

- KPIs (menu_fp_dashboard) → supervisor+. Operators don't need
  dashboards; their tablet shows what they need to do next.
- Move Log (menu_fp_job_step_move) → supervisor+. Operators see
  their own moves on the tablet; this top-level menu is the
  audit-of-everyone-else view.
- Replenishment Suggestions (menu_fp_replenishment_suggestions) →
  supervisor+. Purchasing decision, not operator concern.

Other top-levels were already correctly gated:
- Sales / Configurator → estimator
- Shipping & Receiving → group_fp_receiving
- Compliance hub → supervisor+
- Configuration → manager
- Shop Floor / Quality → operator (correctly visible to floor staff)
- Operations parent stays open; child menus enforce per-action gates

Net effect: a fresh operator now sees ~5 top-level menus instead of
the previous ~10. Supervisors see ~8. Managers see all.

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

35 lines
1.0 KiB
Python

# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)
# Part of the Fusion Plating product family.
{
'name': 'Fusion Plating — KPI Dashboard',
'version': '19.0.1.1.0',
'category': 'Manufacturing/Plating',
'summary': 'Configurable KPI dashboards for plating operations.',
'author': 'Nexa Systems Inc.',
'website': 'https://www.nexasystems.ca',
'maintainer': 'Nexa Systems Inc.',
'support': 'support@nexasystems.ca',
'license': 'OPL-1',
'depends': [
'fusion_plating',
'fusion_plating_portal',
'fusion_plating_quality',
],
'data': [
'security/fp_kpi_security.xml',
'security/ir.model.access.csv',
'views/fp_kpi_views.xml',
'views/fp_kpi_value_views.xml',
'views/fp_kpi_dashboard_views.xml',
'views/fp_menu.xml',
'data/fp_kpi_builtin_data.xml',
'data/fp_kpi_cron_data.xml',
],
'installable': True,
'auto_install': False,
'application': False,
}