Files
Odoo-Modules/fusion_plating/fusion_plating_aerospace/__manifest__.py
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

94 lines
3.4 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- 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 — Aerospace (AS9100 + Nadcap)',
'version': '19.0.1.1.1',
'category': 'Manufacturing/Plating',
'summary': 'Aerospace industry pack: AS9100 Rev D clause library, Nadcap AC7108 '
'audits, counterfeit parts prevention, config management, risk register, '
'FAIR/AS9102 extensions, industry spec library (AMS, ASTM, MIL, BAC).',
'description': """
Fusion Plating — Aerospace (AS9100 + Nadcap AC7108)
====================================================
Part of the Fusion Plating product family by Nexa Systems Inc.
This industry pack layers aerospace-specific records, workflows and seed
data on top of the Fusion Plating quality module (QMS). It is the
baseline every AS9100-certified plating / metal finishing shop needs on
top of the generic QMS.
Records added
-------------
* AS9100 Rev D clause catalog (hierarchical, seeded with the main
clauses 4 through 10 plus the aerospace-critical 8.1.18.1.4 family)
* Nadcap AC7108 audit records (PRI-assigned auditors, merit/NCR counts,
accreditation start/end, checklist selection covering AC7108 base and
slash sheets 10/11/12/13/14)
* Counterfeit parts prevention log (AS9100 §8.1.4, GIDEP reporting)
* Configuration management baseline (AS9100 §8.1.2)
* Risk register with likelihood × impact scoring (AS9100 §8.1.1)
* FAIR extension for AS9102 forms 1/2/3 and customer approval
* Customer specification extension for aerospace flags, AS9100 clause
mapping, Nadcap flag and PRI file code
Seed data
---------
* ~25 AS9100 Rev D clauses with a nested parent/child structure
* Industry specs: AMS 2404, ASTM B733, MIL-C-26074, MIL-A-8625,
QQ-C-320, MIL-DTL-13924, AMS 2700, AMS 2759/9, AMS-QQ-P-416,
BAC 5709, PRI AS7108
Dependencies
------------
Depends on all four process packs (EN, chrome, anodize, black oxide)
plus the quality QMS module, so the seeded customer-spec ↔ process-type
relationships always resolve.
Copyright (c) 2026 Nexa Systems Inc. All rights reserved.
""",
'author': 'Nexa Systems Inc.',
'website': 'https://www.nexasystems.ca',
'maintainer': 'Nexa Systems Inc.',
'support': 'support@nexasystems.ca',
'license': 'OPL-1',
'price': 0.00,
'currency': 'CAD',
'depends': [
'fusion_plating_quality',
'fusion_plating_process_en',
'fusion_plating_process_chrome',
'fusion_plating_process_anodize',
'fusion_plating_process_black_oxide',
],
'data': [
'security/fp_aerospace_security.xml',
'security/ir.model.access.csv',
'data/fp_sequence_data.xml',
'data/fp_as9100_clause_data.xml',
'data/fp_customer_spec_data.xml',
'views/fp_as9100_clause_views.xml',
'views/fp_nadcap_audit_views.xml',
'views/fp_counterfeit_views.xml',
'views/fp_config_item_views.xml',
'views/fp_risk_views.xml',
'views/fp_customer_spec_views.xml',
'views/fp_fair_views.xml',
'views/fp_menu.xml',
],
'demo': [
'data/fp_demo_aerospace_data.xml',
],
'assets': {
'web.assets_backend': [
'fusion_plating_aerospace/static/src/scss/fusion_plating_aerospace.scss',
],
},
'installable': True,
'application': False,
'auto_install': False,
}