Files
Odoo-Modules/fusion_plating/fusion_plating_bridge_maintenance/__manifest__.py
gsinghpal 145b424760 fix(seeds): noupdate=1 on remaining 3 user-editable seed files
Audit of all 86 data XML files in the fusion_plating module set
turned up 3 more files that lacked noupdate=1 protection — every
module upgrade would re-import them and silently overwrite user
customisations. Following the ENP-ALUM-BASIC recovery (a68bf2e),
locked these too:

1. fusion_tasks/data/ir_cron_data.xml — 4 ir.cron records
   (technician travel times, push notifications, late-arrival
   checks, location cleanup). Users may disable / re-schedule.

2. fusion_plating_shopfloor/data/fp_cron_data.xml — 1 ir.cron
   (Bake Window state updater). Same reasoning.

3. fusion_plating_bridge_maintenance/data/fp_maintenance_stage_data.xml
   — 3 maintenance.stage records (kanban columns: New / Active /
   Completed). Admin may rename, reorder, or add new stages.

Companion entech-side action (executed via SQL during the fix
session): 11 ir.model.data rows for these records were updated to
noupdate=true so the next module upgrade respects the new flag.

Files left explicitly noupdate=0 — verified safe:
- fusion_plating/data/fp_landing_data.xml — 1 ir.actions.server
  (system action, code-defined; re-import is harmless)
- fusion_plating_reports/data/fp_hide_default_reports.xml —
  re-asserts deletion of default Odoo report bindings; intentional
  to re-run on every upgrade

Final audit confirmed 0 user-editable noupdate=false records remain.
ir.model.inherit + report.paperformat rows still noupdate=false but
those are system metadata (Odoo manages) and Odoo's standard
paperformat pattern, both safe.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 08:32:30 -04:00

57 lines
1.9 KiB
Python

# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)
{
'name': 'Fusion Plating — Maintenance Bridge',
'version': '19.0.1.2.0',
'category': 'Manufacturing/Plating',
'summary': 'Bridge standard Odoo Maintenance with Fusion Plating equipment, '
'plans, checklists, and sensor integration.',
'description': """
Fusion Plating — Maintenance Bridge
====================================
Extends Odoo's standard Maintenance module for electroless nickel plating
and metal finishing operations. Replaces Steelhead Software CMMS.
* Maintenance plans (templates linked to equipment categories)
* Checklist nodes (individual items within a plan)
* Labour cost tracking on maintenance events
* "From last maintenance" recurrence mode
* Equipment linked to Fusion Plating tanks and facilities
* Optional sensor measurement bridge (soft dependency)
Part of the Fusion Plating product family by Nexa Systems Inc.
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',
'maintenance',
],
'data': [
'security/fp_maintenance_security.xml',
'security/ir.model.access.csv',
'data/fp_maintenance_stage_data.xml',
'data/fp_maintenance_sequence_data.xml',
'data/fp_equipment_category_data.xml',
'views/fp_maintenance_plan_views.xml',
'views/fp_maintenance_node_views.xml',
'views/maintenance_request_views.xml',
'views/maintenance_equipment_views.xml',
'views/fp_maintenance_dashboard_views.xml',
'views/fp_maintenance_menu.xml',
],
'installable': True,
'application': False,
'auto_install': False,
}